Skip to content

Commit 9a85615

Browse files
authored
Rollup merge of rust-lang#77086 - ehuss:src-libunwind, r=Mark-Simulacrum
Include libunwind in the rust-src component. Some targets, such as musl, need the libunwind source to build the unwind crate (referenced [here](https://github.com/rust-lang/rust/blob/0da58007451a154da2480160429e1604a1f5f0ec/library/unwind/build.rs#L142)). Fixes rust-lang/wg-cargo-std-aware#59
2 parents 1a66e27 + 9f27f37 commit 9a85615

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrap/dist.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ impl Step for Src {
10331033
copy_src_dirs(
10341034
builder,
10351035
&builder.src,
1036-
&["library"],
1036+
&["library", "src/llvm-project/libunwind"],
10371037
&[
10381038
// not needed and contains symlinks which rustup currently
10391039
// chokes on when unpacking.

0 commit comments

Comments
 (0)