We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 893e726 commit 0f04e2dCopy full SHA for 0f04e2d
compiler/rustc_llvm/build.rs
@@ -261,9 +261,7 @@ fn main() {
261
// On NetBSD/i386, gcc and g++ is built for i486 (to maximize backward compat)
262
// However, LLVM insists on using 64-bit atomics.
263
// This gives rise to a need to link rust itself with -latomic for these targets
264
- if target.starts_with("i586")
265
- || target.starts_with("i686")
266
- {
+ if target.starts_with("i586") || target.starts_with("i686") {
267
println!("cargo:rustc-link-lib=atomic");
268
}
269
println!("cargo:rustc-link-lib=z");
0 commit comments