diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-07-24 21:23:49 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-10-17 00:58:43 -0500 |
commit | ac2d188aae804663b687ae82dbc3830257b9dd76 (patch) | |
tree | 405e3f6231f026fa4fdfa5b9597a99424fab9a08 /bootstrap/rust-1.60/0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch | |
parent | 93313d3bb206ac0c14ebe90154856ea36db70450 (diff) | |
download | packages-ac2d188aae804663b687ae82dbc3830257b9dd76.tar.gz packages-ac2d188aae804663b687ae82dbc3830257b9dd76.tar.bz2 packages-ac2d188aae804663b687ae82dbc3830257b9dd76.tar.xz packages-ac2d188aae804663b687ae82dbc3830257b9dd76.zip |
user/rust: rename to bootstrap/rust-1.60
Diffstat (limited to 'bootstrap/rust-1.60/0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch')
-rw-r--r-- | bootstrap/rust-1.60/0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bootstrap/rust-1.60/0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch b/bootstrap/rust-1.60/0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch new file mode 100644 index 000000000..27b3cd547 --- /dev/null +++ b/bootstrap/rust-1.60/0006-Prefer-libgcc_eh-over-libunwind-for-musl.patch @@ -0,0 +1,25 @@ +From 78ae73f09d07c847ede1dc683b8907f5bd5bd17f 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/14] Prefer libgcc_eh over libunwind for musl + +--- + library/unwind/src/lib.rs | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/library/unwind/src/lib.rs b/library/unwind/src/lib.rs +index 079626f0fea..590fca0acfa 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", kind = "static", modifiers = "-bundle", cfg(target_feature = "crt-static"))] + #[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))] + extern "C" {} + } +-- +2.35.1 + |