瀏覽代碼

Fix: platform impl does not require floating point

Build RustSBI using RISC-V RV64IMAC instruction set
luojia65 4 年之前
父節點
當前提交
6c3c207d43
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2 2
      platform/k210/.cargo/config.toml
  2. 2 2
      platform/qemu/.cargo/config.toml

+ 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",
 ]