Procházet zdrojové kódy

Fix: platform impl does not require floating point

Build RustSBI using RISC-V RV64IMAC instruction set
luojia65 před 4 roky
rodič
revize
6c3c207d43

+ 2 - 2
platform/k210/.cargo/config.toml

@@ -1,7 +1,7 @@
 [build]
-target = "riscv64gc-unknown-none-elf"
+target = "riscv64imac-unknown-none-elf"
 
-[target.riscv64gc-unknown-none-elf]
+[target.riscv64imac-unknown-none-elf]
 rustflags = [
     "-C", "link-arg=-Tlink-k210.ld",
 ]

+ 2 - 2
platform/qemu/.cargo/config.toml

@@ -1,7 +1,7 @@
 [build]
-target = "riscv64gc-unknown-none-elf"
+target = "riscv64imac-unknown-none-elf"
 
-[target.riscv64gc-unknown-none-elf]
+[target.riscv64imac-unknown-none-elf]
 rustflags = [
     "-C", "link-arg=-Tlink-qemu.ld",
 ]