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.
This commit is contained in:
commit
b05be976ef
1 changed files with 4 additions and 2 deletions
|
@ -227,8 +227,10 @@ fn copy_self_contained_objects(
|
||||||
target_deps.push((target, DependencyType::TargetSelfContained));
|
target_deps.push((target, DependencyType::TargetSelfContained));
|
||||||
}
|
}
|
||||||
|
|
||||||
let libunwind_path = copy_llvm_libunwind(builder, target, &libdir_self_contained);
|
if !target.starts_with("s390x") {
|
||||||
target_deps.push((libunwind_path, DependencyType::TargetSelfContained));
|
let libunwind_path = copy_llvm_libunwind(builder, target, &libdir_self_contained);
|
||||||
|
target_deps.push((libunwind_path, DependencyType::TargetSelfContained));
|
||||||
|
}
|
||||||
} else if target.ends_with("-wasi") {
|
} else if target.ends_with("-wasi") {
|
||||||
let srcdir = builder
|
let srcdir = builder
|
||||||
.wasi_root(target)
|
.wasi_root(target)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue