File tree 1 file changed +13
-0
lines changed
1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -145,6 +145,19 @@ index ea06b620c4c..b969d0009c6 100644
145
145
ifdef RUSTC_LINKER
146
146
RUSTC := \$ (RUSTC) -Clinker='\$ (RUSTC_LINKER)'
147
147
RUSTDOC := \$ (RUSTDOC) -Clinker='\$ (RUSTC_LINKER)'
148
+ diff --git a/src/tools/run-make-support/src/rustdoc.rs b/src/tools/run-make-support/src/rustdoc.rs
149
+ index 9607ff02f96..b7d97caf9a2 100644
150
+ --- a/src/tools/run-make-support/src/rustdoc.rs
151
+ +++ b/src/tools/run-make-support/src/rustdoc.rs
152
+ @@ -34,8 +34,6 @@ pub fn bare() -> Self {
153
+ /// Construct a \` rustdoc\` invocation with \` -L \$ (TARGET_RPATH_DIR)\` set.
154
+ pub fn new() -> Self {
155
+ let mut cmd = setup_common();
156
+ - let target_rpath_dir = env::var_os("TARGET_RPATH_DIR").unwrap();
157
+ - cmd.arg(format!("-L{}", target_rpath_dir.to_string_lossy()));
158
+ Self { cmd }
159
+ }
160
+
148
161
EOF
149
162
150
163
echo " [TEST] rustc test suite"
You can’t perform that action at this time.
0 commit comments