This crate contains two binaries:
distinct_three_fields_arcset(crashes rustc in--releaseon this machine)distinct_three_fields_u64_set(control variant that compiles)
rustc 1.90.0LLVM 20.1.8x86_64-unknown-linux-gnu
From this directory:
cargo clean
cargo build --release --bin distinct_three_fields_arcsetExpected: rustc fails with:
signal: 11, SIGSEGV: invalid memory reference
cargo clean
cargo build --release --bin distinct_three_fields_u64_setExpected: build succeeds.
This appears stack-sensitive. On this machine:
cargo clean
RUST_MIN_STACK=3145728 cargo build --release --bin distinct_three_fields_arcsetExpected: build succeeds.
Notes:
ulimit -s unlimiteddid not avoid the crash.- For the full project build,
RUST_MIN_STACK=4194304was sufficient in testing.