We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d6baba commit dd0f271Copy full SHA for dd0f271
src/unix.rs
@@ -287,9 +287,6 @@ impl Client {
287
288
// On Linux, we can use preadv2 to do non-blocking read,
289
// even if `O_NONBLOCK` is not set.
290
- //
291
- // TODO: musl libc supports preadv2 since 1.2.5, but `libc` crate
292
- // hasn't yet added it.
293
#[cfg(any(target_os = "linux", target_os = "android"))]
294
{
295
let read = self.read().as_raw_fd();
@@ -395,8 +392,6 @@ impl Client {
395
392
}
396
393
397
394
398
-// This should be available for all linux targets,
399
-// though only [`non_blocking_read`] currently uses it so adding gnu cfg.
400
401
mod linux {
402
use super::*;
0 commit comments