rustc 1.78.0 segfault on MacOS / M1 #125053
Labels
A-incr-comp
Area: Incremental compilation
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-bug
Category: This is a bug.
I-crash
Issue: The compiler crashes (SIGSEGV, SIGABRT, etc). Use I-ICE instead when the compiler panics.
llvm-fixed-upstream
Issue expected to be fixed by the next major LLVM upgrade
O-macos
Operating system: macOS
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
I get a segfault when I try to run
cargo test
on the following code:I see the same behavior with the latest nightly
rustc
. I see no error withrustc
1.77.0 or earlier. It also works fine on Linux, and on an older Intel Macbook.I also updated to the latest XCode to make sure all parts of my toolchain were up to date. Doing so did not make the segfault go away.
The text was updated successfully, but these errors were encountered: