We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff4b7e1 commit d8785a3Copy full SHA for d8785a3
crates/std_detect/src/detect/os/linux/auxvec.rs
@@ -139,8 +139,7 @@ fn getauxval(key: usize) -> Result<usize, ()> {
139
target_os = "linux",
140
any(target_env = "gnu", target_env = "musl", target_env = "ohos"),
141
)),
142
- // TODO: libc crate currently doesn't provide getauxval on 32-bit Android.
143
- not(all(target_os = "android", target_pointer_width = "64")),
+ not(target_os = "android"),
144
))] {
145
let ffi_getauxval: F = unsafe {
146
let ptr = libc::dlsym(libc::RTLD_DEFAULT, c"getauxval".as_ptr());
0 commit comments