diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-10-31 09:51:09 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-10-31 09:51:09 +0000 |
| commit | 297e933bf8ffc740c56f11e5299243a5a0623275 (patch) | |
| tree | 8bdd4bd4d778bb7d80831c23c7d5d8a63b92653a | |
| parent | 05126cdc1015757c3d039fd7150ccb1f299c3ffb (diff) | |
| download | rust-297e933bf8ffc740c56f11e5299243a5a0623275.tar.gz rust-297e933bf8ffc740c56f11e5299243a5a0623275.zip | |
Fix rustc test suite
| -rwxr-xr-x | scripts/test_rustc_tests.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/test_rustc_tests.sh b/scripts/test_rustc_tests.sh index 035034e0fab..a820da286f5 100755 --- a/scripts/test_rustc_tests.sh +++ b/scripts/test_rustc_tests.sh @@ -178,6 +178,18 @@ index 9607ff02f96..b7d97caf9a2 100644 Self { cmd } } +diff --git a/src/tools/compiletest/src/runtest/run_make.rs b/src/tools/compiletest/src/runtest/run_make.rs +index e7ae773ffa1d3..04bc2d7787da7 100644 +--- a/src/tools/compiletest/src/runtest/run_make.rs ++++ b/src/tools/compiletest/src/runtest/run_make.rs +@@ -329,7 +329,6 @@ impl TestCx<'_> { + .arg(format!("run_make_support={}", &support_lib_path.to_string_lossy())) + .arg("--edition=2021") + .arg(&self.testpaths.file.join("rmake.rs")) +- .arg("-Cprefer-dynamic") + // Provide necessary library search paths for rustc. + .env(dylib_env_var(), &env::join_paths(host_dylib_search_paths).unwrap()); + EOF echo "[TEST] rustc test suite" |
