From 2949195d9a9728b388cc606cb03d7ee3e00f5e7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=AE=B8=E6=9D=B0=E5=8F=8B=20Jieyou=20Xu=20=28Joe=29?= Date: Mon, 3 Jun 2024 01:57:27 +0000 Subject: [PATCH] compiler-builtins: don't clear env vars for cargo invocation --- tests/run-make/compiler-builtins/rmake.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/run-make/compiler-builtins/rmake.rs b/tests/run-make/compiler-builtins/rmake.rs index f5da50ebb043b..55962fa4ebc4b 100644 --- a/tests/run-make/compiler-builtins/rmake.rs +++ b/tests/run-make/compiler-builtins/rmake.rs @@ -56,7 +56,6 @@ fn main() { "--target", &target, ]) - .env_clear() .env("PATH", path) .env("RUSTC", rustc) .env("RUSTFLAGS", "-Copt-level=0 -Cdebug-assertions=yes")