mirror of
https://github.com/google/comprehensive-rust.git
synced 2024-12-02 02:56:26 +02:00
Mention panic-abort and panic-halt crates.
This commit is contained in:
parent
f71a86d942
commit
2981d3856f
@ -16,6 +16,7 @@ fn panic(_panic: &PanicInfo<'_>) -> ! {
|
||||
|
||||
* This will compile to an empty binary.
|
||||
* `std` provides a panic handler; without it we must provide our own.
|
||||
* It can also be provided by another crate, such as `panic-abort` or `panic-halt`.
|
||||
* Depending on the target, you may need to compile with `panic = "abort"` to avoid an error about
|
||||
`eh_personality`.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user