diff options
Diffstat (limited to 'testing/source/rust/link_libffi.diff')
-rw-r--r-- | testing/source/rust/link_libffi.diff | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testing/source/rust/link_libffi.diff b/testing/source/rust/link_libffi.diff new file mode 100644 index 00000000..dd5a3e0f --- /dev/null +++ b/testing/source/rust/link_libffi.diff @@ -0,0 +1,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 |