Open
Description
Steps to reproduce:
$ git clone https://github.com/rocallahan/rust-musl-segfault.git
$ cd rust-musl-segfault
$ cargo +nightly build --target x86_64-unknown-linux-musl
...
$ target/x86_64-unknown-linux-musl/debug/test_crate
Segmentation fault (core dumped)
Since the code is literally
use nix::sys::stat::Mode;
fn main() {
}
I expected it to not segfault.
Metadata
Metadata
Assignees
Labels
Area: linking into static, shared libraries and binariesCategory: This is a bug.Call for participation: This issue has a repro, but needs a Minimal Complete and Verifiable ExampleCall for participation: An issue has been fixed and does not reproduce, but no test has been added.Target: The musl libcRelevant to the compiler team, which will review and decide on the PR/issue.Performance or correctness regression from one stable version to another.