Cargo Features
Semihosting has no features set by default.
[dependencies]
semihosting = { version = "0.1.25", features = ["alloc", "stdio", "fs", "args", "time", "random", "panic-handler", "panic-unwind", "backtrace", "portable-atomic", "openocd-semihosting"] }
Please read the documentation before using optional features: https://github.com/taiki-e/semihosting#optional-features
- alloc panic-unwind?
- stdio backtrace?
- fs random?
-
Affects
semihosting::fs… - args
-
Affects
experimental::env,semihosting::experimental… - time
-
Affects
experimental::time,semihosting::experimental… - random = fs
-
Affects
experimental::random,semihosting::experimental… - panic-handler panic-unwind?
- panic-unwind = alloc, panic-handler, unwinding
-
Enables fde-static, panic and personality of unwinding
Affects
experimental::panic,semihosting::experimental… - backtrace = stdio, unwinding
-
Enables hide-trace of unwinding
- portable-atomic
-
Enables portable-atomic
- trap-hlt openocd-semihosting
Features from optional dependencies
In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.