From ab56c601732b2e86d3d3717582d00fa56493760f Mon Sep 17 00:00:00 2001 From: Urgau Date: Thu, 19 Jan 2023 17:46:54 +0100 Subject: [PATCH] Remove outdated cfg on `le32` See https://github.com/rust-lang/rust/pull/45041 for the removal of the target (le32-unknown-nacl). --- std/src/os/fuchsia/raw.rs | 7 +------ std/src/os/l4re/raw.rs | 1 - std/src/os/linux/raw.rs | 1 - 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/std/src/os/fuchsia/raw.rs b/std/src/os/fuchsia/raw.rs index 060d6e86b..ea6b94f2f 100644 --- a/std/src/os/fuchsia/raw.rs +++ b/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/std/src/os/l4re/raw.rs b/std/src/os/l4re/raw.rs index 699e8be33..b3f7439f8 100644 --- a/std/src/os/l4re/raw.rs +++ b/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/std/src/os/linux/raw.rs b/std/src/os/linux/raw.rs index c73791d14..f46028c3a 100644 --- a/std/src/os/linux/raw.rs +++ b/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",