Closed
Description
Given a clean checkout of foo
:
cargo clean -p foo
cargo rustc -p foo -- -Zverbose
cargo clean -p foo
cargo rustc -p foo -- -Zverbose
Only the first cargo rustc
will actually build. But if you change the argument to -Z verbose
the second time, it will build (but only once). My hypothesis (which @alexcrichton confirmed) is that each generates a distinct fingerprint, and cargo clean -p foo
is looking for a version with no arguments.
I would expect it rather to clean all builds related to foo
with any arguments.