We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 10d655b + 8a816ca commit 25671faCopy full SHA for 25671fa
src/librustc_llvm/build.rs
@@ -293,11 +293,9 @@ fn main() {
293
}
294
295
296
- // LLVM requires symbols from this library, but apparently they're not printed
297
- // during llvm-config?
+ // Libstdc++ depends on pthread which Rust doesn't link on MinGW
+ // since nothing else requires it.
298
if target.contains("windows-gnu") {
299
- println!("cargo:rustc-link-lib=static-nobundle=gcc_s");
300
println!("cargo:rustc-link-lib=static-nobundle=pthread");
301
- println!("cargo:rustc-link-lib=dylib=uuid");
302
303
0 commit comments