Adds -Cpanic=abort to RUSTFLAGS so that build profiles do not need to specify panic = "abort" in Cargo.toml. This can potentially allow simulator builds to customize panics. (Maybe printing to the console and stopping the event loop, for instance. But this work is TBD.)
Builds with
-Z build-std-features=panic_immediate_abort
to ensure thecore::panicking
plumbing is stripped.See: https://github.com/rust-lang/rust/pull/55011
Adds
-Cpanic=abort
to RUSTFLAGS so that build profiles do not need to specifypanic = "abort"
in Cargo.toml. This can potentially allow simulator builds to customize panics. (Maybe printing to the console and stopping the event loop, for instance. But this work is TBD.)Fixes https://github.com/pd-rs/crankstart/discussions/66