commit: 04fb6384f1cb521eab4fc2a369f24a7f4b135fde Author: Matt Jolly <kangie <AT> gentoo <DOT> org> AuthorDate: Wed Feb 11 08:57:34 2026 +0000 Commit: Matt Jolly <kangie <AT> gentoo <DOT> org> CommitDate: Wed Feb 11 08:57:34 2026 +0000 URL: https://gitweb.gentoo.org/proj/rust-patches.git/commit/?id=04fb6384
Update musl dynamic linking patch for 1.94.0 Signed-off-by: Matt Jolly <kangie <AT> gentoo.org> ...nking.patch => 1.94.0-compiler-musl-dynamic-linking.patch | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/1.93.0-compiler-musl-dynamic-linking.patch b/1.94.0-compiler-musl-dynamic-linking.patch similarity index 92% rename from 1.93.0-compiler-musl-dynamic-linking.patch rename to 1.94.0-compiler-musl-dynamic-linking.patch index 3dc1908..bdc045a 100644 --- a/1.93.0-compiler-musl-dynamic-linking.patch +++ b/1.94.0-compiler-musl-dynamic-linking.patch @@ -1,4 +1,4 @@ -From 1084502e776bc82d638df918ce6955ea6b302e23 Mon Sep 17 00:00:00 2001 +From ce58f7a470ab210c3b53a4b1a846e0249aa08112 Mon Sep 17 00:00:00 2001 From: Matt Jolly <[email protected]> Date: Tue, 29 Jul 2025 14:54:14 +1000 Subject: [PATCH] compiler: musl: dynamic linking by default @@ -30,11 +30,10 @@ Signed-off-by: Matt Jolly <[email protected]> } --- a/compiler/rustc_target/src/spec/targets/arm_unknown_linux_musleabihf.rs +++ b/compiler/rustc_target/src/spec/targets/arm_unknown_linux_musleabihf.rs -@@ -20,8 +20,7 @@ pub(crate) fn target() -> Target { - features: "+strict-align,+v6,+vfp2,-d32".into(), +@@ -21,7 +21,7 @@ pub(crate) fn target() -> Target { max_atomic_width: Some(64), mcount: "\u{1}mcount".into(), -- // FIXME(compiler-team#422): musl targets should be dynamically linked by default. + // FIXME(compiler-team#422): musl targets should be dynamically linked by default. - crt_static_default: true, + crt_static_default: false, ..base::linux_musl::opts() @@ -66,11 +65,10 @@ Signed-off-by: Matt Jolly <[email protected]> } --- a/compiler/rustc_target/src/spec/targets/armv7_unknown_linux_musleabihf.rs +++ b/compiler/rustc_target/src/spec/targets/armv7_unknown_linux_musleabihf.rs -@@ -23,8 +23,7 @@ pub(crate) fn target() -> Target { - features: "+v7,+vfp3,-d32,+thumb2,-neon".into(), +@@ -24,7 +24,7 @@ pub(crate) fn target() -> Target { max_atomic_width: Some(64), mcount: "\u{1}mcount".into(), -- // FIXME(compiler-team#422): musl targets should be dynamically linked by default. + // FIXME(compiler-team#422): musl targets should be dynamically linked by default. - crt_static_default: true, + crt_static_default: false, ..base::linux_musl::opts()
