Skip to content

Commit 297e933

Browse files
committed
Fix rustc test suite
1 parent 05126cd commit 297e933

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

scripts/test_rustc_tests.sh

+12
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,18 @@ index 9607ff02f96..b7d97caf9a2 100644
178178
Self { cmd }
179179
}
180180
181+
diff --git a/src/tools/compiletest/src/runtest/run_make.rs b/src/tools/compiletest/src/runtest/run_make.rs
182+
index e7ae773ffa1d3..04bc2d7787da7 100644
183+
--- a/src/tools/compiletest/src/runtest/run_make.rs
184+
+++ b/src/tools/compiletest/src/runtest/run_make.rs
185+
@@ -329,7 +329,6 @@ impl TestCx<'_> {
186+
.arg(format!("run_make_support={}", &support_lib_path.to_string_lossy()))
187+
.arg("--edition=2021")
188+
.arg(&self.testpaths.file.join("rmake.rs"))
189+
- .arg("-Cprefer-dynamic")
190+
// Provide necessary library search paths for rustc.
191+
.env(dylib_env_var(), &env::join_paths(host_dylib_search_paths).unwrap());
192+
181193
EOF
182194

183195
echo "[TEST] rustc test suite"

0 commit comments

Comments
 (0)