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.
preadv2
1 parent f34c2bc commit 0d6babaCopy full SHA for 0d6baba
src/unix.rs
@@ -290,7 +290,7 @@ impl Client {
290
//
291
// TODO: musl libc supports preadv2 since 1.2.5, but `libc` crate
292
// hasn't yet added it.
293
- #[cfg(target_os = "linux")]
+ #[cfg(any(target_os = "linux", target_os = "android"))]
294
{
295
let read = self.read().as_raw_fd();
296
loop {
@@ -397,7 +397,7 @@ impl Client {
397
398
// This should be available for all linux targets,
399
// though only [`non_blocking_read`] currently uses it so adding gnu cfg.
400
-#[cfg(target_os = "linux")]
+#[cfg(any(target_os = "linux", target_os = "android"))]
401
mod linux {
402
use super::*;
403
0 commit comments