diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-06-02 15:35:57 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-06-02 15:35:57 +0300 |
| commit | 65730a3c4b0cc25bb9cb89af110d112b52aa9994 (patch) | |
| tree | ffc02669e1b8d46a25c75539fadea48bb87f7e2f | |
| parent | 52882f6522ae9f34f1d574b2efabc4b18e691ae0 (diff) | |
| download | rust-65730a3c4b0cc25bb9cb89af110d112b52aa9994.tar.gz rust-65730a3c4b0cc25bb9cb89af110d112b52aa9994.zip | |
bootstrap: Remove `rustc_snapshot_libdir` from PATH in one more place
| -rw-r--r-- | src/bootstrap/src/core/build_steps/tool.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/bootstrap/src/core/build_steps/tool.rs b/src/bootstrap/src/core/build_steps/tool.rs index 173b3ff0816..4cf62bc8ddc 100644 --- a/src/bootstrap/src/core/build_steps/tool.rs +++ b/src/bootstrap/src/core/build_steps/tool.rs @@ -1302,10 +1302,8 @@ impl Builder<'_> { // // Notably this munges the dynamic library lookup path to point to the // right location to run `compiler`. - let mut lib_paths: Vec<PathBuf> = vec![ - self.build.rustc_snapshot_libdir(), - self.cargo_out(compiler, Mode::ToolBootstrap, *host).join("deps"), - ]; + let mut lib_paths: Vec<PathBuf> = + vec![self.cargo_out(compiler, Mode::ToolBootstrap, *host).join("deps")]; // On MSVC a tool may invoke a C compiler (e.g., compiletest in run-make // mode) and that C compiler may need some extra PATH modification. Do |
