Skip to content

Commit 0f04e2d

Browse files
committed
For i586/NetBSD: fix another formatting insistence.
1 parent 893e726 commit 0f04e2d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

compiler/rustc_llvm/build.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,7 @@ fn main() {
261261
// On NetBSD/i386, gcc and g++ is built for i486 (to maximize backward compat)
262262
// However, LLVM insists on using 64-bit atomics.
263263
// 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-
{
264+
if target.starts_with("i586") || target.starts_with("i686") {
267265
println!("cargo:rustc-link-lib=atomic");
268266
}
269267
println!("cargo:rustc-link-lib=z");

0 commit comments

Comments
 (0)