Registry / other / panic-rtt-target

panic-rtt-target

JSON →
library0.2.0rscratesunverified

Logs panic messages over RTT using rtt-target.

# Cargo.toml [dependencies] panic-rtt-target = "0.2.0"
INSTALL
IMPORT
SIG · PANIC-RTT-TARGET
P
panic-rtt-target
otherrustv0.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

panic_handler
use panic_rtt_target::panic_handler;

Sets up a panic handler that outputs messages via RTT.

use panic_rtt_target::panic_handler; #[panic_handler] fn panic(info: &core::panic::PanickInfo) -> ! { panic_handler(info) }
Debug
Known issues
gotchaRequires RTT target support (e.g., probe-rs or J-Link) to see output.
fix
Ensure your debug probe and target support RTT, and use rtt-target::rtt_init_print!() before panics.
affects: >=0.1.0
Upgrade
Version history
0.2.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
panic-rtt-target — cargo add panic-rtt-target · libregistry