Originally created by @jonas-schievink on GitHub (Apr 30, 2019).
Originally assigned to: @berkus on GitHub.
There's quite a few panic implementations now, so I think it'd be useful to list them here. I'm not sure where exactly they should be put though, because some of them are platform-independent while others aren't. Personally I think these belong in their own section.
panic-abort: Causes an abort on panics (nightly-only)
panic-ramdump: Writes the panic message into the beginning of RAM and enters an infinite loop; the message can be extracted by attaching a debugger (Cortex-M only)
panic-semihosting: Prints the panic message via semihosting to an attached debugger (Cortex-M only)
panic-itm: Prints the panic through the chip's ITM to a debugger attached to the SWO pin (Cortex-M with ITM only)
Originally created by @jonas-schievink on GitHub (Apr 30, 2019).
Originally assigned to: @berkus on GitHub.
There's quite a few panic implementations now, so I think it'd be useful to list them here. I'm not sure where exactly they should be put though, because some of them are platform-independent while others aren't. Personally I think these belong in their own section.
List of crates:
* [`panic-halt`](https://github.com/korken89/panic-halt): Halts the processor on panics
* [`panic-abort`](https://github.com/japaric/panic-abort): Causes an abort on panics (nightly-only)
* [`panic-ramdump`](https://github.com/therealprof/panic-ramdump): Writes the panic message into the beginning of RAM and enters an infinite loop; the message can be extracted by attaching a debugger (Cortex-M only)
* [`panic-semihosting`](https://github.com/rust-embedded/panic-semihosting): Prints the panic message via semihosting to an attached debugger (Cortex-M only)
* [`panic-itm`](https://github.com/rust-embedded/panic-itm): Prints the panic through the chip's ITM to a debugger attached to the SWO pin (Cortex-M with ITM only)
@Disasm commented on GitHub (May 7, 2019):
Maybe these deserve to be in the panic-section too:
* [`no-panic`](https://crates.io/crates/no-panic)
* [`dont_panic`](https://crates.io/crates/dont_panic) + [`dont_panic_slice`](https://crates.io/crates/dont_panic_slice)
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @jonas-schievink on GitHub (Apr 30, 2019).
Originally assigned to: @berkus on GitHub.
There's quite a few panic implementations now, so I think it'd be useful to list them here. I'm not sure where exactly they should be put though, because some of them are platform-independent while others aren't. Personally I think these belong in their own section.
List of crates:
panic-halt: Halts the processor on panicspanic-abort: Causes an abort on panics (nightly-only)panic-ramdump: Writes the panic message into the beginning of RAM and enters an infinite loop; the message can be extracted by attaching a debugger (Cortex-M only)panic-semihosting: Prints the panic message via semihosting to an attached debugger (Cortex-M only)panic-itm: Prints the panic through the chip's ITM to a debugger attached to the SWO pin (Cortex-M with ITM only)@jonas-schievink commented on GitHub (May 7, 2019):
Forgot about
panic-never.@Disasm commented on GitHub (May 7, 2019):
Maybe these deserve to be in the panic-section too:
no-panicdont_panic+dont_panic_slice@berkus commented on GitHub (Nov 24, 2024):
PR is ready for review.
@BartMassey commented on GitHub (Nov 25, 2024):
panic-rtt?@berkus commented on GitHub (Nov 28, 2024):
@BartMassey pls review