feat(adapter-riscv): boot on QEMU virt with UART hello world

This commit is contained in:
2026-10-18 01:46:47 +02:00
parent dcadb83088
commit 44a0ead7f2
6 changed files with 182 additions and 0 deletions

3
.cargo/config.toml Normal file
View File

@@ -0,0 +1,3 @@
[target.riscv64gc-unknown-none-elf]
runner = "qemu-system-riscv64 -machine virt -nographic -bios default -kernel"
rustflags = ["-C", "link-arg=-Tcrates/adapter-riscv/linker.ld", "-C", "panic=abort"]