We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dab4379 + 2571b1a commit a065660Copy full SHA for a065660
build.rs
@@ -72,7 +72,9 @@ fn main() {
72
// Only emit the ARM Linux atomic emulation on pre-ARMv6 architectures. This
73
// includes the old androideabi. It is deprecated but it is available as a
74
// rustc target (arm-linux-androideabi).
75
- if llvm_target[0] == "armv4t" || llvm_target[0] == "armv5te" || llvm_target[2] == "androideabi"
+ if llvm_target[0] == "armv4t"
76
+ || llvm_target[0] == "armv5te"
77
+ || llvm_target.get(2) == Some(&"androideabi")
78
{
79
println!("cargo:rustc-cfg=kernel_user_helpers")
80
}
0 commit comments