Cargo Features
RISC-V has no features set by default.
[dependencies]
riscv = { version = "0.11.1", features = ["s-mode", "critical-section-single-hart"] }
- s-mode
- critical-section-single-hart
-
Enables restore-state-bool of critical-section
RISC-V has 2 features without comments.