compiler-builtins: don't clear env vars for cargo invocation

This commit is contained in:
许杰友 Jieyou Xu (Joe) 2024-06-03 01:57:27 +00:00
parent 27529d5c25
commit 2949195d9a

View File

@ -56,7 +56,6 @@ fn main() {
"--target",
&target,
])
.env_clear()
.env("PATH", path)
.env("RUSTC", rustc)
.env("RUSTFLAGS", "-Copt-level=0 -Cdebug-assertions=yes")