mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
Improve the advice given by panic_immediate_abort
This commit is contained in:
@@ -35,7 +35,8 @@
|
||||
#[cfg(feature = "panic_immediate_abort")]
|
||||
compile_error!(
|
||||
"panic_immediate_abort is now a real panic strategy! \
|
||||
Enable it with the compiler flags `-Zunstable-options -Cpanic=immediate-abort`"
|
||||
Enable it with `panic = \"immediate-abort\"` in Cargo.toml, \
|
||||
or with the compiler flags `-Zunstable-options -Cpanic=immediate-abort`"
|
||||
);
|
||||
|
||||
// First we define the two main entry points that all panics go through.
|
||||
|
||||
Reference in New Issue
Block a user