diff options
| author | Thomas de Zeeuw <thomasdezeeuw@gmail.com> | 2020-09-11 19:12:06 +0200 |
|---|---|---|
| committer | Thomas de Zeeuw <thomasdezeeuw@gmail.com> | 2020-09-11 19:12:06 +0200 |
| commit | c394624471c66c42bd9641ab30d2a2ccea894dbc (patch) | |
| tree | e09e6c375ed9c19d0b4c8cfe9237177d0f83fcde /library/std/src/sys/unix/fd.rs | |
| parent | 7c3e1ffd7a945b4044e5e80d7d74ba944ff54d0f (diff) | |
| download | rust-c394624471c66c42bd9641ab30d2a2ccea894dbc.tar.gz rust-c394624471c66c42bd9641ab30d2a2ccea894dbc.zip | |
Ignore unnecessary unsafe warnings
This is a work-around for a libc issue: https://github.com/rust-lang/libc/issues/1888.
Diffstat (limited to 'library/std/src/sys/unix/fd.rs')
| -rw-r--r-- | library/std/src/sys/unix/fd.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/std/src/sys/unix/fd.rs b/library/std/src/sys/unix/fd.rs index 16adbe6d88c..2224a055d6d 100644 --- a/library/std/src/sys/unix/fd.rs +++ b/library/std/src/sys/unix/fd.rs @@ -6,7 +6,6 @@ mod tests; use crate::cmp; use crate::io::{self, Initializer, IoSlice, IoSliceMut, Read}; use crate::mem; -#[cfg(not(any(target_os = "redox", target_env = "newlib")))] use crate::sys::cvt; use crate::sys_common::AsInner; |
