Skip to content

Commit cda9145

Browse files
committed
Fix rustc test suite
1 parent 8a46f85 commit cda9145

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/test_rustc_tests.sh

+2-3
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,11 @@ diff --git a/src/tools/run-make-support/src/rustdoc.rs b/src/tools/run-make-supp
176176
index 9607ff02f96..b7d97caf9a2 100644
177177
--- a/src/tools/run-make-support/src/external_deps/rustdoc.rs
178178
+++ b/src/tools/run-make-support/src/external_deps/rustdoc.rs
179-
@@ -34,8 +34,6 @@ pub fn bare() -> Self {
179+
@@ -34,7 +34,6 @@ pub fn bare() -> Self {
180180
#[track_caller]
181181
pub fn new() -> Self {
182182
let mut cmd = setup_common();
183-
- let target_rpath_dir = env_var_os("TARGET_RPATH_DIR");
184-
- cmd.arg(format!("-L{}", target_rpath_dir.to_string_lossy()));
183+
- cmd.arg("-L").arg(env_var_os("TARGET_RPATH_DIR"));
185184
Self { cmd }
186185
}
187186

0 commit comments

Comments
 (0)