Starts adding rust in the toolchain

This commit is contained in:
2025-11-12 22:05:25 +01:00
parent 7bb8b993ae
commit 8326c1f169
11 changed files with 104 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
[build]
target = "riscv64i.json"
[target.riscv64i]
linker = "riscv64-unknown-elf-ld"
# linker = "rust-lld"
rustflags = [
# "-C", "link-arg=-nostartfiles",
"-C", "link-arg=-T../link.ld",
]
[unstable]
build-std = ["core", "compiler_builtins"]