summaryrefslogblamecommitdiffstats
path: root/testing/source/rust/link_libffi.diff
blob: dd5a3e0f091cdcfc9391f0cd597b6871c66aa364 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                
--- ./compiler/rustc_llvm/build.rs.orig	2020-11-16 08:01:53.000000000 -0600
+++ ./compiler/rustc_llvm/build.rs	2020-11-19 13:46:21.222785372 -0600
@@ -234,6 +234,8 @@
         println!("cargo:rustc-link-lib={}={}", kind, name);
     }
 
+    println!("cargo:rustc-link-lib=dylib=ffi");
+
     // LLVM ldflags
     //
     // If we're a cross-compile of LLVM then unfortunately we can't trust these