Compiler started panicking on build, reverting changes does not stop crashes #79852
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Sorry, I don't have much experience with the Rust compiler yet -- would love to learn more :)
I was working on a project for a class doing some system benchmarking on nightly Rust. Everything was working and after a set of changes I started getting compiler crashes. Still trying to work out exactly what change triggered the crashes. I reverted a bunch of code to a state where I knew it compiled previously but it still crashed. I'm unsure if it's related to my code or not. I've attached a zip with the
Cargo.toml
and themain.rs
file.Since reverting changes does not seem to affect the build, could this be an issue with already-compiled artifacts under
./target
?Code
I don't have the time right now to provide a strictly minimal example -- I could not reproduce this either. The two files in there are the only artifacts in the project.
code.tar.gz
See attached
code.tar.gz
Meta
rustc --version --verbose
:Error output
backtrace
The text was updated successfully, but these errors were encountered: