瀏覽代碼

fix(test-kernel): Fixed incorrect environment variable settings when compiling with `cargo make test-kernel-itb`

guttatus 4 月之前
父節點
當前提交
739419f535
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Makefile.toml

+ 1 - 0
Makefile.toml

@@ -31,6 +31,7 @@ dependencies = ["prototyper-build"]
 [tasks.test-kernel-build]
 command = "cargo"
 args = ["build", "-prustsbi-test-kernel", "--release"]
+env = { "RUSTFLAGS"= { unset = true }}
 
 [tasks.test-kernel]
 command = "rust-objcopy"