aports/main/rust/do-not-install-libunwind-source.patch
2026-02-13 11:16:33 +00:00

20 lines
813 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
@@ -1188,7 +1188,7 @@ fn run(self, builder: &Builder<'_>) -> GeneratedTarball {
copy_src_dirs(
builder,
&builder.src,
- &["library", "src/llvm-project/libunwind"],
+ &["library"],
&[
// not needed and contains symlinks which rustup currently
// chokes on when unpacking.