Browse Source

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

guttatus 4 months ago
parent
commit
739419f535
1 changed files with 1 additions and 0 deletions
  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"