aboutsummaryrefslogtreecommitdiffstats
path: root/community/rust/link-musl-dynamically.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/rust/link-musl-dynamically.patch')
-rw-r--r--community/rust/link-musl-dynamically.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/community/rust/link-musl-dynamically.patch b/community/rust/link-musl-dynamically.patch
deleted file mode 100644
index 5ba322cb4bf..00000000000
--- a/community/rust/link-musl-dynamically.patch
+++ /dev/null
@@ -1,27 +0,0 @@
---- rustc-1.38.0-src/vendor/libc/src/lib.rs
-+++ rustc-1.38.0-src/vendor/libc/src/lib.rs
-@@ -27,6 +27,7 @@
- #![deny(missing_copy_implementations, safe_packed_borrows)]
- #![no_std]
- #![cfg_attr(feature = "rustc-dep-of-std", no_core)]
-+#![cfg_attr(feature = "rustc-dep-of-std", feature(static_nobundle))]
- #![cfg_attr(target_os = "redox", feature(static_nobundle))]
-
- #[macro_use]
---- rustc-1.38.0-src/vendor/libc/src/unix/mod.rs
-+++ rustc-1.38.0-src/vendor/libc/src/unix/mod.rs
-@@ -297,11 +297,11 @@ cfg_if! {
- // cargo build, don't pull in anything extra as the libstd dep
- // already pulls in all libs.
- } else if #[cfg(target_env = "musl")] {
-+ #[link(name = "c")]
-+ extern {}
- #[cfg_attr(feature = "rustc-dep-of-std",
-- link(name = "c", kind = "static",
-+ link(name = "gcc", kind = "static-nobundle",
- cfg(target_feature = "crt-static")))]
-- #[cfg_attr(feature = "rustc-dep-of-std",
-- link(name = "c", cfg(not(target_feature = "crt-static"))))]
- extern {}
- } else if #[cfg(target_os = "emscripten")] {
- #[link(name = "c")]