use system libunwind in rust, replacing nondeterministic in-tree version

This commit is contained in:
Lance Vick 2024-01-31 05:39:43 -08:00
parent 41469a293a
commit e052722c12
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
1 changed files with 3 additions and 1 deletions

View File

@ -158,6 +158,7 @@ RUN set -eux; \
--set="rust.deny-warnings=false" \
--set="rust.parallel-compiler=false" \
--set="rust.remap-debuginfo=true" \
--set="rust.llvm-libunwind=system" \
--set="build.full-bootstrap=true" \
--set="target.x86_64-unknown-linux-musl.crt-static=false" \
--set="target.x86_64-unknown-linux-musl.musl-root=/usr" \
@ -178,7 +179,8 @@ RUN set -eux; \
sort -o manifest-rustc manifest-rustc; \
sort -o \
manifest-rust-std-x86_64-unknown-linux-musl \
manifest-rust-std-x86_64-unknown-linux-musl
manifest-rust-std-x86_64-unknown-linux-musl; \
rm -f x86_64-unknown-linux-musl/lib/self-contained/libunwind.a
COPY --from=musl /lib/* /rootfs/lib/
COPY --from=gcc /usr/lib/* /rootfs/usr/lib/
COPY --from=gcc /usr/lib64/* /rootfs/usr/lib/