Gets rust running rv64iM
This commit is contained in:
@@ -2,13 +2,14 @@
|
||||
target = "riscv64i.json"
|
||||
|
||||
[target.riscv64i]
|
||||
linker = "riscv64-unknown-elf-ld"
|
||||
# linker = "rust-lld"
|
||||
#linker = "riscv64-unknown-elf-ld"
|
||||
linker = "ld.lld"
|
||||
|
||||
rustflags = [
|
||||
# "-C", "link-arg=-nostartfiles",
|
||||
"-C", "link-arg=-T../link.ld",
|
||||
"-C", "link-arg=../mem/crt.o",
|
||||
"-C", "target-feature=+m",
|
||||
]
|
||||
|
||||
[unstable]
|
||||
|
||||
@@ -9,9 +9,9 @@
|
||||
"os": "none",
|
||||
"vendor": "unknown",
|
||||
"env": "",
|
||||
"features": "+i",
|
||||
"linker-flavor": "ld.lld",
|
||||
"linker": "riscv64-unknown-elf-ld",
|
||||
"features": "+i,+m",
|
||||
"linker": "ld.lld",
|
||||
"linker-flavor": "ld",
|
||||
"executables": true,
|
||||
"panic-strategy": "abort",
|
||||
"relocation-model": "static",
|
||||
|
||||
Reference in New Issue
Block a user