summaryrefslogtreecommitdiff
path: root/extra/patches/rustc/0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-03-10 11:59:16 +0000
committerdavidovski <david@davidovski.xyz>2022-03-10 11:59:16 +0000
commitbb499959d88da1b3937c23b5405089c907188a81 (patch)
treed9ddba6d0c8f1152c3919067a52250c6bf0759f9 /extra/patches/rustc/0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch
parent3602ce227f784f1c6233ef6ad3cd8f5ccad28e66 (diff)
added and patched broken packages
Diffstat (limited to 'extra/patches/rustc/0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch')
-rw-r--r--extra/patches/rustc/0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/extra/patches/rustc/0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch b/extra/patches/rustc/0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch
deleted file mode 100644
index 30cb66f..0000000
--- a/extra/patches/rustc/0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-Additions for build.rs by q66, necessary for our musl setup.
-
-From 1eb558f246269606c6d8d73824ef6b44fa10764e Mon Sep 17 00:00:00 2001
-From: Samuel Holland <samuel@sholland.org>
-Date: Sat, 9 Sep 2017 00:14:16 -0500
-Subject: [PATCH 06/16] Prefer libgcc_eh over libunwind for musl
-
----
- src/libunwind/lib.rs | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/libunwind/lib.rs b/src/libunwind/lib.rs
-index 9182e349b19..0377fbb58fc 100644
---- a/library/unwind/src/lib.rs
-+++ b/library/unwind/src/lib.rs
-@@ -51,7 +51,7 @@
- #[link(name = "unwind", cfg(not(target_feature = "crt-static")))]
- extern "C" {}
- } else {
-- #[link(name = "unwind", kind = "static", modifiers = "-bundle", cfg(target_feature = "crt-static"))]
-+ #[link(name = "gcc_eh", cfg(target_feature = "crt-static"))]
- #[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))]
- extern "C" {}
- }