Skip to content

Commit 65730a3

Browse files
committed
bootstrap: Remove rustc_snapshot_libdir from PATH in one more place
1 parent 52882f6 commit 65730a3

File tree

1 file changed

+2
-4
lines changed
  • src/bootstrap/src/core/build_steps

1 file changed

+2
-4
lines changed

src/bootstrap/src/core/build_steps/tool.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1302,10 +1302,8 @@ impl Builder<'_> {
13021302
//
13031303
// Notably this munges the dynamic library lookup path to point to the
13041304
// right location to run `compiler`.
1305-
let mut lib_paths: Vec<PathBuf> = vec![
1306-
self.build.rustc_snapshot_libdir(),
1307-
self.cargo_out(compiler, Mode::ToolBootstrap, *host).join("deps"),
1308-
];
1305+
let mut lib_paths: Vec<PathBuf> =
1306+
vec![self.cargo_out(compiler, Mode::ToolBootstrap, *host).join("deps")];
13091307

13101308
// On MSVC a tool may invoke a C compiler (e.g., compiletest in run-make
13111309
// mode) and that C compiler may need some extra PATH modification. Do

0 commit comments

Comments
 (0)