Too many super keywords included
⚓ Rust 📅 2025-05-07 👤 surdeus 👁️ 11I have in my file cdemodc_c.rs, at the top of it line:
//cdemodc_c.rs
use super::bindings_included::*;
The structure of my project is:
I'm getting error:
Basically, the problem is that in the cdemodc_c.rs is main function which I cannot start debugging.
This is the content of Cargo.toml
So, to summarize:
- How to work around the fact that clearly there is file bindings_included yet system either doesn't see it (when I use create instead of super) or tells me that I use super too many times even though I only have one super keyword
- How to tell the system that the main is in cdemodc_c and use this main not the main functin from main file that is used by the lib
Any help appreciated
2 posts - 2 participants
🏷️ rust_feed


