Skip to content

Commit 1288ed4

Browse files
committed
Fix build error on aarch64_be linux
1 parent dbb244a commit 1288ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ fn main() {
9191
println!("cargo:rustc-cfg=kernel_user_helpers")
9292
}
9393

94-
if llvm_target[0] == "aarch64" {
94+
if llvm_target[0].starts_with("aarch64") {
9595
generate_aarch64_outlined_atomics();
9696
}
9797
}

0 commit comments

Comments
 (0)