-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
"rerun-if-changed" in build script causes causes fingerprint error and extra rebuild #2261
Comments
cc #2134 |
Note that you don't need to depend on the build script's source to re-trigger compiling the build script, Cargo does that automatically. That being said this probably shouldn't happen either way, so there may still be a bug. |
This happens for any value of |
Fixed by #2279 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If a dependency contains the following build script:
Then running
cargo build
twice in a row compile the dependency twice, instead of just once:Possibly related: the following message appears in the log output during the second build, but not the first or third build:
As reported by @cdlm on IRC, this affects the current version of the
glutin
crate. And here is a minimal test case for this issue: https://github.com/mbrubeck/cargotestThe text was updated successfully, but these errors were encountered: