aports/main/rust/do-not-install-libunwind-source.patch
Aelin 7d31e8f3cf main/rust: upgrade to 1.94.0
add vendored wasm-component-ld to tools since it now seems to be needed
for the build, it is specifically for the wasm32-wapi2 target (that was
promoted to Tier 2 already with Rust 1.82), see upstream commit
2a3e22bf04b41c6116cb1e29ab7d8daeed8e63db
2026-03-17 08:00:15 +00:00

20 lines
775 B
Diff

From ab5ddc8e1afc9ad4214745949b6168d2f5f73331 Mon Sep 17 00:00:00 2001
From: Dominic Meiser <alpine@msrd0.de>
Date: Tue, 22 Dec 2020 23:31:28 +0100
Subject: [PATCH] Do not install libunwind source
This was added in rustc 1.48, but is incompatible with the Alpine Linux package since it removes all bundled
dependencies prior to building.
--- a/src/bootstrap/src/core/build_steps/dist.rs
+++ b/src/bootstrap/src/core/build_steps/dist.rs
@@ -1191,7 +1191,7 @@ impl Step for Src {
copy_src_dirs(
builder,
&builder.src,
- &["library", "src/llvm-project/libunwind"],
+ &["library"],
&[
// not needed and contains symlinks which rustup currently
// chokes on when unpacking.