void-packages/srcpkgs/rust/patches/llvm-with-ffi.patch
Christian Neukirchen d5ca5aec77 rust: update to 1.12.0.
Use self-built Rust for musl for bootstrapping for now.
2016-09-30 15:58:10 +02:00

9 lines
213 B
Diff

--- rustc-1.12.0/src/librustc_llvm/lib.rs.orig
+++ rustc-1.12.0/src/librustc_llvm/lib.rs
@@ -481,3 +481,6 @@
mod llvmdeps {
include! { env!("CFG_LLVM_LINKAGE_FILE") }
}
+
+#[link(name = "ffi")]
+extern {}