From 6735ff241e76fa4cc70b3727a2dbeeecfb014a2a Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Sun, 4 Aug 2024 01:47:47 -0500 Subject: user/rust: Add version 1.80.0 --- ...-Prefer-libgcc_eh-over-libunwind-for-musl.patch | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 user/rust/0005-Prefer-libgcc_eh-over-libunwind-for-musl.patch (limited to 'user/rust/0005-Prefer-libgcc_eh-over-libunwind-for-musl.patch') diff --git a/user/rust/0005-Prefer-libgcc_eh-over-libunwind-for-musl.patch b/user/rust/0005-Prefer-libgcc_eh-over-libunwind-for-musl.patch new file mode 100644 index 000000000..cbb22cd45 --- /dev/null +++ b/user/rust/0005-Prefer-libgcc_eh-over-libunwind-for-musl.patch @@ -0,0 +1,25 @@ +From 78ae73f09d07c847ede1dc683b8907f5bd5bd17f Mon Sep 17 00:00:00 2001 +From: Samuel Holland +Date: Sat, 9 Sep 2017 00:14:16 -0500 +Subject: [PATCH 05/12] 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 +@@ -63,7 +63,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 + -- cgit v1.2.3-70-g09d2