You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
When checking src/main.rs cargo (rustc?) expects file to have newer timestamp than before to detect changes and this causes app to not be recompiled in some cases.
Ideally it should at least check for inequality instead, maybe file inode, etc., current implementation is just broken.
Fix cargo build --dependencies-only #2644, I faced this issue with echo "fn main() {}" > src/main.rs workaround to make dependencies compile and cache separately from the app itself
Notes
Last working version was installed with this (Jenkins output):
Problem
When checking
src/main.rs
cargo (rustc?) expects file to have newer timestamp than before to detect changes and this causes app to not be recompiled in some cases.Steps
cargo init
Possible Solution(s)
echo "fn main() {}" > src/main.rs
workaround to make dependencies compile and cache separately from the app itselfNotes
Last working version was installed with this (Jenkins output):
First non-working was installed with this:
Output of
cargo version
:The text was updated successfully, but these errors were encountered: