From 8c89e1295610fdb35dd125c2f7060e2e74c68527 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Sat, 8 Apr 2017 15:08:22 +0200 Subject: testing/rust: upgrade to 1.16.0 and properly fix dynamic linking --- testing/rust/llvm-with-ffi.patch | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'testing/rust/llvm-with-ffi.patch') 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. */ -- cgit v1.2.3