-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
ICE in cargo test
with CARGO_INCREMENTAL=1 on Cargo
#39585
Labels
A-incr-comp
Area: Incremental compilation
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
alexcrichton
added
A-incr-comp
Area: Incremental compilation
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
labels
Feb 6, 2017
Thanks for the report! |
Possible duplicate of #39508 ? Same error and it seems like both fail on testing a file called |
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Feb 8, 2017
…ata, r=alexcrichton Choose different name for metadata obj-file to avoid clashes with user-chosen names. Fixes rust-lang#39585 and probably rust-lang#39508. Incremental compilation assigns different names to obj-files than regular compilation. If a crate is called "metadata" this can lead to a clash between the root module's obj-file and the obj-file containing crate-metadata. This PR assigns a name to the metadata obj-file that cannot clash with other obj-file because it contains a `.` which is not allowed in a Rust module identifier. r? @alexcrichton cc @nikomatsakis
frewsxcv
added a commit
to frewsxcv/rust
that referenced
this issue
Feb 9, 2017
…ata, r=alexcrichton Choose different name for metadata obj-file to avoid clashes with user-chosen names. Fixes rust-lang#39585 and probably rust-lang#39508. Incremental compilation assigns different names to obj-files than regular compilation. If a crate is called "metadata" this can lead to a clash between the root module's obj-file and the obj-file containing crate-metadata. This PR assigns a name to the metadata obj-file that cannot clash with other obj-file because it contains a `.` which is not allowed in a Rust module identifier. r? @alexcrichton cc @nikomatsakis
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-incr-comp
Area: Incremental compilation
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
I've checked out Cargo at rust-lang/cargo@4ce099b and from a clean build directory I get:
The compiler in use is the current latest nightly, specifically:
The text was updated successfully, but these errors were encountered: