Registry / other / panic-semihosting

panic-semihosting

JSON →
library0.6.0rscratesunverified

Report panic messages to the host stderr using semihosting

# Cargo.toml [dependencies] panic-semihosting = "0.6.0"
INSTALL
IMPORT
SIG · PANIC-SEMIHOSTING
P
panic-semihosting
otherrustv0.6.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_semihosting
use panic_semihosting as _;

Set panic handler to output messages via semihosting on embedded ARM targets

use panic_semihosting as _; fn main() { panic!("Something went wrong"); }
Debug
Known issues
gotchaOnly works on ARM Cortex-M targets with semihosting support enabled in the debugger
fix
Ensure your target is ARM Cortex-M and the debugger supports semihosting (e.g., OpenOCD with `semihosting` enabled)
affects: >=0.1
Upgrade
Version history
0.6.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

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