rustc SIGSEGV on 1.82.0 and 1.84.0-nightly using anyhow and clap #133203
Labels
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, or backported fixes
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Saw this in a larger codebase and tried to reduce the example as much as possible. It fails when running
cargo build --release
but compiles normally when runningcargo build
.I noted that a lot of existing
SIGSEGV
issues were marked asC-defective-hardware
, so I replicated the issue on three different machines to try and rule that out.Code
Cargo.toml
:main.rs
:Meta
Fails on stable:
Also fails on nightly:
Error output
Backtrace
The text was updated successfully, but these errors were encountered: