aboutsummaryrefslogtreecommitdiffstats
path: root/testing/rust/llvm-with-ffi.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-04-08 15:08:22 +0200
committerJakub Jirutka <jakub@jirutka.cz>2017-04-09 15:41:28 +0200
commit8c89e1295610fdb35dd125c2f7060e2e74c68527 (patch)
tree6bd5e94c2f58436db3341b9958354acc3a969d2c /testing/rust/llvm-with-ffi.patch
parent997883d3a0f8c8c4a12b55f62643a26883d14507 (diff)
downloadaports-8c89e1295610fdb35dd125c2f7060e2e74c68527.tar.bz2
aports-8c89e1295610fdb35dd125c2f7060e2e74c68527.tar.xz
testing/rust: upgrade to 1.16.0 and properly fix dynamic linking
Diffstat (limited to 'testing/rust/llvm-with-ffi.patch')
-rw-r--r--testing/rust/llvm-with-ffi.patch13
1 files changed, 5 insertions, 8 deletions
diff --git a/testing/rust/llvm-with-ffi.patch b/testing/rust/llvm-with-ffi.patch
index 23504eac71..f8c9cdf13a 100644
--- a/testing/rust/llvm-with-ffi.patch
+++ b/testing/rust/llvm-with-ffi.patch
@@ -7,13 +7,10 @@ https://github.com/rust-lang/rust/issues/34486.
--- a/src/librustc_llvm/lib.rs
+++ b/src/librustc_llvm/lib.rs
-@@ -577,6 +577,9 @@
- #[cfg(not(cargobuild))]
- extern {}
-
+@@ -481,3 +481,6 @@
+ mod llvmdeps {
+ include! { env!("CFG_LLVM_LINKAGE_FILE") }
+ }
++
+#[link(name = "ffi")]
+extern {}
-+
- #[linked_from = "rustllvm"] // not quite true but good enough
- extern {
- /* Create and destroy contexts. */