Problem
When I modify a file in the project, it is not rebuilt. Instead cargo thinks the project is fresh and uses a cached copy. I know it's wrong to do this because a fresh build (with a different toolchain) gives a compile error.
Steps
I am not sure how to reproduce this in isolation. I'm modifying a file in deadlinks/cargo-deadlinks@f3857e1, then running cargo run.
I double-checked the last-modified date of main.rs and it says 19:39; the binary was built at 19:01.
Notes
Output of cargo version: cargo 1.47.0 (f3c7e066a 2020-08-28)
Problem
When I modify a file in the project, it is not rebuilt. Instead cargo thinks the project is fresh and uses a cached copy. I know it's wrong to do this because a fresh build (with a different toolchain) gives a compile error.
Steps
I am not sure how to reproduce this in isolation. I'm modifying a file in deadlinks/cargo-deadlinks@f3857e1, then running
cargo run.I double-checked the last-modified date of
main.rsand it says 19:39; the binary was built at 19:01.Notes
Output of
cargo version:cargo 1.47.0 (f3c7e066a 2020-08-28)