panzi / rust-compiler-crash

Minimal example for a certain Rust compiler crash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Compiler Crash

Minimal example to reproduce several compiler crashes that I've encountered. See rustc issue #117460.

Build each crash separatly like this:

cargo build --features=crash1
cargo build --features=crash2
cargo build --features=crash3
cargo build --features=crash4
cargo build --features=crash5
cargo build --features=crash6

Or use the helper script that generates rustc-ice-crash$i.txt and rustc-out-crash$i.txt files:

./build_all.sh

The cargo version with which the crash files in this repository where created:

cargo 1.75.0-nightly (b4d18d4bd 2023-10-31)

About

Minimal example for a certain Rust compiler crash


Languages

Language:Rust 93.1%Language:Shell 6.9%