We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 696006d commit 6123e21Copy full SHA for 6123e21
build.rs
@@ -751,6 +751,7 @@ fn print_link_flags() {
751
} else if target.contains("apple")
752
|| target.contains("freebsd")
753
|| target.contains("openbsd")
754
+ || target.contains("gnullvm")
755
{
756
println!("cargo:rustc-link-lib=dylib=c++");
757
} else if target.contains("android") {
@@ -776,6 +777,9 @@ fn print_link_flags() {
776
777
} else {
778
println!("cargo:rustc-link-lib=dylib=msvcprt");
779
}
780
+ } else if target.ends_with("windows-gnu") {
781
+ // Clang-based toolchains don't use separate atomic library
782
+ println!("cargo:rustc-link-lib=atomic")
783
784
785
0 commit comments