-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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: Trying to invalidate IncrCompSession #39508
Labels
A-incr-comp
Area: Incremental compilation
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
Comments
michaelwoerister
added
A-incr-comp
Area: Incremental compilation
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
labels
Feb 4, 2017
This really seems to be linked to the |
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
This works now as well (as does running CARGO_INCREMENTAL on the rest of gluon). Awesome! |
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) ❄️
Tried to compile gluon with
CARGO_INCREMENTAL
but got a ICE when compiling thegluon_check
crate (gluon_base
andgluon_parser
compile fine). I am unsure how to proceed to minimize the ICE.Only special thing that comes to mind with
check/tests/metadata.rs
is that there is alsobase/parser/metadata.rs
which I suppose might interfere?The text was updated successfully, but these errors were encountered: