From 721668f13364f8d7b288b4dc6919bc2f9fdbdfb4 Mon Sep 17 00:00:00 2001
From: bjorn3 <17426603+bjorn3@users.noreply.github.com>
Date: Sun, 28 Aug 2022 17:14:47 +0000
Subject: [PATCH] Tiny cleanup

---
 build_system/tests.rs | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/build_system/tests.rs b/build_system/tests.rs
index d3296c6fda3..e6348624c7b 100644
--- a/build_system/tests.rs
+++ b/build_system/tests.rs
@@ -249,11 +249,7 @@ const EXTENDED_SYSROOT_SUITE: &[TestCase] = &[
                 bench_compile.arg("--prepare");
                 bench_compile.arg(format!("{:?}", runner.cargo_command(["clean"])));
 
-                if cfg!(windows) {
-                    bench_compile.arg("cmd /C \"set RUSTFLAGS= && cargo build\"");
-                } else {
-                    bench_compile.arg("RUSTFLAGS='' cargo build");
-                }
+                bench_compile.arg("cargo build");
 
                 bench_compile.arg(format!("{:?}", runner.cargo_command(["build"])));
                 spawn_and_wait(bench_compile);