Skip to content

Commit 0d4d36f

Browse files
committed
Remove x86 for timestampns
1 parent 59a57d2 commit 0d4d36f

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

src/sys/socket/mod.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ use libc::{self, c_void, c_int, iovec, socklen_t, size_t,
88
use std::{mem, ptr, slice};
99
use std::os::unix::io::RawFd;
1010
#[cfg(all(target_os = "linux", any(
11-
target_arch = "x86",
1211
target_arch = "x86_64",
1312
target_arch = "aarch64",
1413
), not(target_env = "musl")))]
@@ -564,7 +563,6 @@ pub enum ControlMessageOwned {
564563
///
565564
/// [Further reading](https://www.kernel.org/doc/html/latest/networking/timestamping.html)
566565
#[cfg(all(target_os = "linux", any(
567-
target_arch = "x86",
568566
target_arch = "x86_64",
569567
target_arch = "aarch64",
570568
), not(target_env = "musl")))]
@@ -661,7 +659,6 @@ impl ControlMessageOwned {
661659
ControlMessageOwned::ScmTimestamp(TimeVal::from(tv))
662660
},
663661
#[cfg(all(target_os = "linux", any(
664-
target_arch = "x86",
665662
target_arch = "x86_64",
666663
target_arch = "aarch64",
667664
), not(target_env = "musl")))]

src/sys/socket/sockopt.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -273,7 +273,6 @@ sockopt_impl!(Both, BindToDevice, libc::SOL_SOCKET, libc::SO_BINDTODEVICE, OsStr
273273
sockopt_impl!(GetOnly, OriginalDst, libc::SOL_IP, libc::SO_ORIGINAL_DST, libc::sockaddr_in);
274274
sockopt_impl!(Both, ReceiveTimestamp, libc::SOL_SOCKET, libc::SO_TIMESTAMP, bool);
275275
#[cfg(all(target_os = "linux", any(
276-
target_arch = "x86",
277276
target_arch = "x86_64",
278277
target_arch = "aarch64",
279278
), not(target_env = "musl")))]

0 commit comments

Comments
 (0)