Skip to content

i686 musl cannot panic #39053

Closed
Closed
@alexcrichton

Description

@alexcrichton

e.g. for a simple program like:

fn main() {
   panic!("hello");
}

it runs as:

$ rustc foo.rs --target i686-unknown-linux-musl && ./foo
thread 'main' panicked at 'hello', foo.rs:2
note: Run with `RUST_BACKTRACE=1` for a backtrace.
fatal runtime error: failed to initiate panic, error 5
zsh: abort (core dumped)  ./foo

cc @japaric

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions