summaryrefslogtreecommitdiff
path: root/repo/rust/musl-fix-linux_musl_base.patch
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-12-19 23:07:05 +0000
committerdavidovski <david@davidovski.xyz>2022-12-19 23:07:05 +0000
commit05d004dfe0c9a9d898fac8a4a0292ca2a74ca391 (patch)
tree0b058ac267139f2a0525dec42b307664363e5b11 /repo/rust/musl-fix-linux_musl_base.patch
parent4c61af227b0fb3e028c877dc1c2e0b6513960762 (diff)
Making things work
Diffstat (limited to 'repo/rust/musl-fix-linux_musl_base.patch')
-rw-r--r--repo/rust/musl-fix-linux_musl_base.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/repo/rust/musl-fix-linux_musl_base.patch b/repo/rust/musl-fix-linux_musl_base.patch
deleted file mode 100644
index 1771ffe..0000000
--- a/repo/rust/musl-fix-linux_musl_base.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-From: Jakub Jirutka <jakub@jirutka.cz>
-Date: Sat, 08 Aug 2016 15:06:00 +0200
-Subject: [PATCH] Fix linux_musl_base for native musl host
-
-See https://github.com/rust-lang/rust/pull/40113
-
---- a/compiler/rustc_target/src/spec/linux_musl_base.rs
-+++ b/compiler/rustc_target/src/spec/linux_musl_base.rs
-@@ -5,12 +5,9 @@
- let mut base = super::linux_base::opts();
-
- base.env = "musl".to_string();
-- base.pre_link_objects_fallback = crt_objects::pre_musl_fallback();
-- base.post_link_objects_fallback = crt_objects::post_musl_fallback();
-- base.crt_objects_fallback = Some(CrtObjectsFallback::Musl);
-
- // These targets statically link libc by default
-- base.crt_static_default = true;
-+ base.crt_static_default = false;
-
- base
- }
-