-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cargo build recompiles when using rustc -- -Z no-trans
#3204
Comments
Thanks for the report! Right now this is expected, however, due to how Cargo tracks |
There's another side-effect to using Steps to repro:
What happened? Workaround is step 2.5. What's a better way? EDIT: If I change step 1. to |
Closing as no longer applicable. |
Hello.
When I use
cargo rustc -- -Z -no-trans
, the followingcargo build
will recompile even thought I did not changed the source code.Here is the commands that I ran:
The second
cargo build
should not recompile the project.Thanks to fix this issue.
The text was updated successfully, but these errors were encountered: