diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2022-01-18 04:42:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-18 04:42:07 +0100 |
| commit | b05be976eff3829e91fcaa05e0e1a6da0c6ea4f2 (patch) | |
| tree | 2a9b3d5cfeb68c05630b490cade30f9d2527f89c /src/bootstrap | |
| parent | 04b2073c84b71a0a8c30e628f942ac4d593f72fe (diff) | |
| parent | 1a37262bf92bf9c6b8979e434d2f4792a76de437 (diff) | |
| download | rust-b05be976eff3829e91fcaa05e0e1a6da0c6ea4f2.tar.gz rust-b05be976eff3829e91fcaa05e0e1a6da0c6ea4f2.zip | |
Rollup merge of #92946 - kaniini:chore/llvm-libunwind-s390x, r=Mark-Simulacrum
Exclude llvm-libunwind from the self-contained set on s390x-musl targets llvm-libunwind does not support s390x targets at present, so we cannot build it for s390x targets. Accordingly, remove it from the self-contained set.
Diffstat (limited to 'src/bootstrap')
| -rw-r--r-- | src/bootstrap/compile.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/bootstrap/compile.rs b/src/bootstrap/compile.rs index 043b38ecece..e17de0ba49e 100644 --- a/src/bootstrap/compile.rs +++ b/src/bootstrap/compile.rs @@ -227,8 +227,10 @@ fn copy_self_contained_objects( target_deps.push((target, DependencyType::TargetSelfContained)); } - let libunwind_path = copy_llvm_libunwind(builder, target, &libdir_self_contained); - target_deps.push((libunwind_path, DependencyType::TargetSelfContained)); + if !target.starts_with("s390x") { + let libunwind_path = copy_llvm_libunwind(builder, target, &libdir_self_contained); + target_deps.push((libunwind_path, DependencyType::TargetSelfContained)); + } } else if target.ends_with("-wasi") { let srcdir = builder .wasi_root(target) |
