panic: "failed to open bitcode file" when changing -Ccodegen-units
in successive compiles.
#127277
Labels
A-incr-comp
Area: Incremental compilation
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
needs-triage
This issue may need triage. Remove it if it has been sufficiently triaged.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Code
Starting from this project: https://github.com/ferrous-systems/armv7r-issues
Removing most of the code from
src/main.rs
still shows the issue.Using:
cargo rustc -- --emit asm -Copt-level=1
followed by
cargo rustc -- --emit asm -Copt-level=1 -Ccodegen-units=2
Meta
This issue also reproduces on nightly.
rustc +nightly --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: