void-packages/srcpkgs/rust/files/patches/static-llvm/llvm-with-dependencies.patch
Johannes c4426b14b8 rust: update to 1.48.0
Additions by q66:

- external cargo bootstrap is always used now
- docs are enabled (for non-bindists) + removed noarch
2020-12-16 21:33:49 +01:00

14 lines
344 B
Diff

--- rustc-1.48.0-src/compiler/rustc_llvm/src/lib.rs
+++ rustc-1.48.0-src/compiler/rustc_llvm/src/lib.rs
@@ -170,3 +170,10 @@
LLVMInitializeWebAssemblyTargetMC,
LLVMInitializeWebAssemblyAsmPrinter);
}
+
+#[link(name = "ffi")]
+extern {}
+#[link(name = "z")]
+extern {}
+#[link(name = "ncursesw")]
+extern {}