We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aa27ee commit e269a74Copy full SHA for e269a74
src/test/run-make/tools.mk
@@ -9,7 +9,7 @@ RUSTC_ORIGINAL := $(RUSTC)
9
BARE_RUSTC := $(HOST_RPATH_ENV) '$(RUSTC)'
10
BARE_RUSTDOC := $(HOST_RPATH_ENV) '$(RUSTDOC)'
11
RUSTC := $(BARE_RUSTC) --out-dir $(TMPDIR) -L $(TMPDIR) $(RUSTFLAGS)
12
-RUSTDOC := $(BARE_RUSTDOC)
+RUSTDOC := $(BARE_RUSTDOC) -L $(TARGET_RPATH_DIR)
13
ifdef RUSTC_LINKER
14
RUSTC := $(RUSTC) -Clinker=$(RUSTC_LINKER)
15
RUSTDOC := $(RUSTDOC) --linker $(RUSTC_LINKER) -Z unstable-options
src/tools/compiletest/src/runtest.rs
@@ -1324,6 +1324,8 @@ impl<'test> TestCx<'test> {
1324
let mut rustdoc = Command::new(rustdoc_path);
1325
1326
rustdoc
1327
+ .arg("-L")
1328
+ .arg(self.config.run_lib_path.to_str().unwrap())
1329
.arg("-L")
1330
.arg(aux_dir)
1331
.arg("-o")
0 commit comments