Registry / other / riscv-rt

riscv-rt

JSON →
library0.18.0rscratesunverified

Minimal runtime / startup for RISC-V CPU's.

# Cargo.toml [dependencies] riscv-rt = "0.18.0"
INSTALL
IMPORT
SIG · RISCV-RT
R
riscv-rt
otherrustv0.18.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.

entry
✓ use riscv_rt::entry;

Define the entry point for a RISC-V bare-metal program.

#![no_std] #![no_main] use riscv_rt::entry; #[entry] fn main() -> ! { loop {} }
Debug
Known issues
gotchaRequires a RISC-V target and linker script; not for standard environments.
fix
Use a RISC-V target triple (e.g., riscv32imac-unknown-none-elf) and provide a memory.x file.
affects: >=0.0.0
Upgrade
Version history
0.18.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
riscv-rt — cargo add riscv-rt · libregistry