-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
"rerun-if-changed" in build script causes causes fingerprint error and extra rebuild #2261
Comments
mbrubeck
changed the title
"rerun-if-changed" in build script causes causes fingerprint error and extra rebuild
"rerun-if-changed=build.rs" in build script causes causes fingerprint error and extra rebuild
Jan 4, 2016
mbrubeck
changed the title
"rerun-if-changed=build.rs" in build script causes causes fingerprint error and extra rebuild
"rerun-if-changed" in build script causes causes fingerprint error and extra rebuild
Jan 4, 2016
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 |
# for free
to join this conversation on GitHub.
Already have an account?
# 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: