diff options
author | Urgau <urgau@numericable.fr> | 2023-01-19 17:46:54 +0100 |
---|---|---|
committer | Urgau <urgau@numericable.fr> | 2023-01-25 15:07:57 +0100 |
commit | dde74fe09239e1f185810908bbe57b135f7076e9 (patch) | |
tree | a5d8d042fc26c312f66ec8ebbc43aeaff0da43b8 | |
parent | 9467f9553197e1dab950bdc842fd407b0ac2d59b (diff) | |
download | rust-dde74fe09239e1f185810908bbe57b135f7076e9.tar.gz |
Remove outdated cfg on `le32`
See https://github.com/rust-lang/rust/pull/45041 for the removal of the
target (le32-unknown-nacl).
-rw-r--r-- | library/std/src/os/fuchsia/raw.rs | 7 | ||||
-rw-r--r-- | library/std/src/os/l4re/raw.rs | 1 | ||||
-rw-r--r-- | library/std/src/os/linux/raw.rs | 1 |
3 files changed, 1 insertions, 8 deletions
diff --git a/library/std/src/os/fuchsia/raw.rs b/library/std/src/os/fuchsia/raw.rs index 060d6e86b6c..ea6b94f2f13 100644 --- a/library/std/src/os/fuchsia/raw.rs +++ b/library/std/src/os/fuchsia/raw.rs @@ -24,12 +24,7 @@ pub type pthread_t = c_ulong; #[stable(feature = "raw_ext", since = "1.1.0")] pub use self::arch::{blkcnt_t, blksize_t, ino_t, nlink_t, off_t, stat, time_t}; -#[cfg(any( - target_arch = "x86", - target_arch = "le32", - target_arch = "powerpc", - target_arch = "arm" -))] +#[cfg(any(target_arch = "x86", target_arch = "powerpc", target_arch = "arm"))] mod arch { use crate::os::raw::{c_long, c_short, c_uint}; diff --git a/library/std/src/os/l4re/raw.rs b/library/std/src/os/l4re/raw.rs index 699e8be33c8..b3f7439f8cd 100644 --- a/library/std/src/os/l4re/raw.rs +++ b/library/std/src/os/l4re/raw.rs @@ -26,7 +26,6 @@ pub use self::arch::{blkcnt_t, blksize_t, ino_t, nlink_t, off_t, stat, time_t}; #[cfg(any( target_arch = "x86", - target_arch = "le32", target_arch = "m68k", target_arch = "powerpc", target_arch = "sparc", diff --git a/library/std/src/os/linux/raw.rs b/library/std/src/os/linux/raw.rs index c73791d1452..f46028c3a96 100644 --- a/library/std/src/os/linux/raw.rs +++ b/library/std/src/os/linux/raw.rs @@ -26,7 +26,6 @@ pub use self::arch::{blkcnt_t, blksize_t, ino_t, nlink_t, off_t, stat, time_t}; #[cfg(any( target_arch = "x86", - target_arch = "le32", target_arch = "m68k", target_arch = "powerpc", target_arch = "sparc", |