Add the rust std as a custom sysroot

This commit is contained in:
2026-03-17 20:13:39 +01:00
parent 56a00d0403
commit f97c4b233a
37 changed files with 802 additions and 2285 deletions

View File

@@ -3,10 +3,9 @@ target = "riscv64.json"
[unstable]
json-target-spec = true
build-std = ["core", "compiler_builtins", "alloc"]
build-std-features = ["compiler-builtins-mem"]
[target.riscv64]
rustflags = [
"-C", "link-arg=-Tilm.ld",
"--sysroot", "sysroot"
]