We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce1be7a commit 5a4475cCopy full SHA for 5a4475c
src/librustc_llvm/build.rs
@@ -265,4 +265,8 @@ fn main() {
265
if target.contains("windows") {
266
println!("cargo:rustc-link-lib=ole32");
267
}
268
+ if target.contains("windows-gnu") {
269
+ println!("cargo:rustc-link-lib=static-nobundle=gcc_s");
270
+ println!("cargo:rustc-link-lib=static-nobundle=pthread");
271
+ }
272
src/librustc_llvm/lib.rs
@@ -29,6 +29,7 @@
29
#![feature(link_args)]
30
#![feature(staged_api)]
31
#![feature(rustc_private)]
32
+#![feature(static_nobundle)]
33
34
extern crate libc;
35
#[macro_use]
0 commit comments