aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rust/remove-crt-static-from-stdlibs.patch
diff options
context:
space:
mode:
authorShiz <hi@shiz.me>2017-04-12 19:52:52 +0000
committerJakub Jirutka <jakub@jirutka.cz>2017-04-13 00:29:51 +0200
commit0c9c5f8c93e636078d89eb27abc68b45306a16ce (patch)
tree6264663b5fee47bed4769ca5f4ca9adfb0061518 /testing/rust/remove-crt-static-from-stdlibs.patch
parenteab991f2cbf1d3f174880c28bfd7efd6b8e87ee0 (diff)
downloadaports-0c9c5f8c93e636078d89eb27abc68b45306a16ce.tar.bz2
aports-0c9c5f8c93e636078d89eb27abc68b45306a16ce.tar.xz
testing/rust: link libunwind properly and clean up libc link patch
Diffstat (limited to 'testing/rust/remove-crt-static-from-stdlibs.patch')
-rw-r--r--testing/rust/remove-crt-static-from-stdlibs.patch23
1 files changed, 0 insertions, 23 deletions
diff --git a/testing/rust/remove-crt-static-from-stdlibs.patch b/testing/rust/remove-crt-static-from-stdlibs.patch
deleted file mode 100644
index d27a0f74c1..0000000000
--- a/testing/rust/remove-crt-static-from-stdlibs.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/src/liblibc/src/unix/mod.rs
-+++ b/src/liblibc/src/unix/mod.rs
-@@ -210,8 +210,7 @@ cfg_if! {
- // cargo build, don't pull in anything extra as the libstd dep
- // already pulls in all libs.
-- } else if #[cfg(any(all(target_env = "musl", not(target_arch = "mips"))))] {
-+ } else if #[cfg(target_env = "musl")] {
-- #[link(name = "c", kind = "static", cfg(target_feature = "crt-static"))]
-- #[link(name = "c", cfg(not(target_feature = "crt-static")))]
-+ #[link(name = "c")]
- extern {}
- } else if #[cfg(target_os = "emscripten")] {
- #[link(name = "c")]
---- a/src/libunwind/lib.rs
-+++ b/src/libunwind/lib.rs
-@@ -30,6 +30,5 @@
- pub use libunwind::*;
-
- #[cfg(target_env = "musl")]
--#[link(name = "unwind", kind = "static", cfg(target_feature = "crt-static"))]
--#[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))]
-+#[link(name = "unwind")]
- extern {}