ICE when rustc asked to -o /dev/null
on OSX
#66530
Labels
C-bug
Category: This is a bug.
I-ICE
Issue: The compiler panicked, giving an Internal Compilation Error (ICE) ❄️
O-macos
Operating system: macOS
P-medium
Medium priority
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Ok, so rustc outputting to /dev/null is a bit pathelogical but it used to not ICE the compiler.
If you checkout
https://github.com/jethrogb/rust-reduce/tree/master/tests/suite/futures_core
and from dir tests/suite/futures_core run:
rustc --crate-type lib -o /dev/null input.rs
Then rustc is vexed:
(ICEs on stable and nightly)
The irony is that this is in the test suite of a rust code minimisation project.... 🤣 🤣 🤣
Let me minimise the reproduction of the problem...
The text was updated successfully, but these errors were encountered: