Replies: 2 comments
-
There should be a main.rs, but i wonder why you have a lib.rs for an application (unless you are targetting wasm or android) |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hmm, running "cargo clean" seems to have fixed the issue. I guess it may have just been a random cargo bug. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
When running "cargo check" on a Slint project (using the build.rs file from the tutorial), it does not appear to check any Rust files besides src/main.rs. I can put random garbage in src/lib.rs and it won't complain. If I run "cargo build", it will find the errors in lib.rs. Do I need to change some settings to get "cargo check" to look at lib.rs?
Beta Was this translation helpful? Give feedback.
All reactions