Closed
Description
This aborts when built with rust-lld + musl on stable and nightly:
fn main() {
panic!();
}
$ rustc --target x86_64-unknown-linux-musl main.rs && ./main
thread 'main' panicked at 'explicit panic', main.rs:2:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
$ rustc --target x86_64-unknown-linux-musl -C linker=rust-lld main.rs && ./main
thread 'main' panicked at 'explicit panic', main.rs:2:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
Aborted (core dumped)