-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Regression in incremental compilation in rustc 1.14.0-nightly: multiple definition of
#36852
Labels
A-incr-comp
Area: Incremental compilation
Comments
This is likely an error in the codegen unit partitioning code. |
OK, I can reproduce when building tests for https://github.com/rust-lang-nursery/regex. |
Merged
sophiajt
pushed a commit
to sophiajt/rust
that referenced
this issue
Oct 6, 2016
… r=eddyb Linker regression This should fix the symbol conflicts reported in rust-lang#36852. The PR also makes some debug output a bit more informative. r? @eddyb
@fkjogu The latest nightly should contain a fix for this. Would you mind testing it against your codebase? |
Can confirm it's fixed! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
After updating from 1.13.0 nightlies to 1.14.0, using incremental compilation, my crate does not compile any more. Not sure, how to reduce this to a minimal example yet. A normal, non-incremental build works without problems.
This issue remains after
cargo clean
and removing the incremental compilation cache directory.Here is the truncated log of a
env RUSTFLAGS="-Z incremental=.cache/ -A warnings" RUST_TEST_THREADS=1 cargo build --verbose
:Meta
rustc --version --verbose
:The text was updated successfully, but these errors were encountered: