File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ RUSTC_ORIGINAL := $(RUSTC)
99BARE_RUSTC := $(HOST_RPATH_ENV ) '$(RUSTC ) '
1010BARE_RUSTDOC := $(HOST_RPATH_ENV ) '$(RUSTDOC ) '
1111RUSTC := $(BARE_RUSTC ) --out-dir $(TMPDIR ) -L $(TMPDIR ) $(RUSTFLAGS )
12- RUSTDOC := $(BARE_RUSTDOC )
12+ RUSTDOC := $(BARE_RUSTDOC ) -L $( TARGET_RPATH_DIR )
1313ifdef RUSTC_LINKER
1414RUSTC := $(RUSTC ) -Clinker=$(RUSTC_LINKER )
1515RUSTDOC := $(RUSTDOC ) --linker $(RUSTC_LINKER ) -Z unstable-options
Original file line number Diff line number Diff line change @@ -1324,6 +1324,8 @@ impl<'test> TestCx<'test> {
13241324 let mut rustdoc = Command :: new ( rustdoc_path) ;
13251325
13261326 rustdoc
1327+ . arg ( "-L" )
1328+ . arg ( self . config . run_lib_path . to_str ( ) . unwrap ( ) )
13271329 . arg ( "-L" )
13281330 . arg ( aux_dir)
13291331 . arg ( "-o" )
You can’t perform that action at this time.
0 commit comments