Cargo Features

riscv-rt has no features set by default.

[dependencies]
riscv-rt = { version = "0.13.0", features = ["s-mode", "single-hart", "v-trap", "u-boot", "no-exceptions"] }
s-mode

Enables s-mode of riscv-rt-macros

single-hart u-boot?
v-trap

Enables v-trap of riscv-rt-macros

u-boot = single-hart

Enables u-boot of riscv-rt-macros

no-interrupts no-exceptions

riscv-rt has 5 features without comments.