Rust code fails to get recognized as "used" by the compiler #14249
Replies: 2 comments 2 replies
-
|
with point 3) in place you shouldn't get dead code warnings about the functions you use there 🤔 do you perhaps have a direct example project for us to look at? |
Beta Was this translation helpful? Give feedback.
-
|
As I just found out, cargo will compile the app twice, once for The solution for this is to remove |
Beta Was this translation helpful? Give feedback.


Uh oh!
There was an error while loading. Please reload this page.
-
Has anyone else run into this issue? My general strategy for my tauri app has been.
I am getting a ton of warnings of unused code even though the program still runs fine with yarn tauri dev. Whats the recommended strategy? #[allow(dead_code)] everywhere?
Beta Was this translation helpful? Give feedback.
All reactions