rust-lang / wg-cargo-std-aware

Repo for working on "std aware cargo"
133 stars 8 forks source link

Code won't compile with panic="abort" option #75

Closed HenryJk closed 2 years ago

HenryJk commented 2 years ago

Project folder: fannkuchredux2.zip

Build command:

cargo +nightly build -Z build-std --target x86_64-unknown-linux-gnu --release

Expected behaviour:

The code compiles regardless of panic="abort" or panic="unwind" option in Cargo.toml

Observed behaviour

if panic="abort" is specified, then the code won't compile.

HenryJk commented 2 years ago

Sorry, I didn't see this option build-std=panic_abort