diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-10-17 16:31:12 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-10-17 16:31:12 +0000 |
| commit | bbaaecc250a8601a756686e72a97d463968282a4 (patch) | |
| tree | 3c26ac4f5bbd89aed007827bd4efc6f5ea82d0a1 | |
| parent | 16067fdea148adb7ad6c1414f0c253dc0592d809 (diff) | |
| download | rust-bbaaecc250a8601a756686e72a97d463968282a4.tar.gz rust-bbaaecc250a8601a756686e72a97d463968282a4.zip | |
Stop copying libstd.so to dist/lib
It is only necessary in dist/lib/rustlib/*/lib anymore. The jit mode now correctly find it there too.
| -rw-r--r-- | build_system/build_sysroot.rs | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/build_system/build_sysroot.rs b/build_system/build_sysroot.rs index 82558999afa..f1f4489bcbc 100644 --- a/build_system/build_sysroot.rs +++ b/build_system/build_sysroot.rs @@ -102,15 +102,6 @@ pub(crate) fn build_sysroot( .install_into_sysroot(&dist_dir); } - // Copy std for the host to the lib dir. This is necessary for the jit mode to find - // libstd. - for lib in host.libs { - let filename = lib.file_name().unwrap().to_str().unwrap(); - if filename.contains("std-") && !filename.contains(".rlib") { - try_hard_link(&lib, dist_dir.join("lib").join(lib.file_name().unwrap())); - } - } - let mut target_compiler = { let rustc_clif = dist_dir.join(wrapper_base_name.replace("____", "rustc-clif")); let rustdoc_clif = dist_dir.join(wrapper_base_name.replace("____", "rustdoc-clif")); |
