Skip to content

Commit

Permalink
Run cargo fix --edition on x86_64-unknown-linux-gnu
Browse files Browse the repository at this point in the history
  • Loading branch information
eduardosm committed Nov 21, 2024
1 parent 31fb37a commit 656e348
Show file tree
Hide file tree
Showing 9 changed files with 7,629 additions and 7,260 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,10 @@ cfg_if! {
pub use solid::*;
} else if #[cfg(unix)] {
mod fixed_width_ints;
pub use fixed_width_ints::*;
pub use crate::fixed_width_ints::*;

mod unix;
pub use unix::*;
pub use crate::unix::*;
} else if #[cfg(target_os = "hermit")] {
mod fixed_width_ints;
pub use fixed_width_ints::*;
Expand Down
458 changes: 229 additions & 229 deletions src/unix/linux_like/linux/arch/generic/mod.rs

Large diffs are not rendered by default.

42 changes: 21 additions & 21 deletions src/unix/linux_like/linux/gnu/b64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ pub type rlim_t = u64;
#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
pub type __syscall_ulong_t = ::c_ulonglong;
#[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))]
pub type __syscall_ulong_t = ::c_ulong;
pub type __syscall_ulong_t = crate::c_ulong;

cfg_if! {
if #[cfg(all(target_arch = "aarch64", target_pointer_width = "32"))] {
Expand Down Expand Up @@ -43,31 +43,31 @@ s! {
pub bufferram: u64,
pub totalswap: u64,
pub freeswap: u64,
pub procs: ::c_ushort,
pub pad: ::c_ushort,
pub procs: crate::c_ushort,
pub pad: crate::c_ushort,
pub totalhigh: u64,
pub freehigh: u64,
pub mem_unit: ::c_uint,
pub _f: [::c_char; 0],
pub mem_unit: crate::c_uint,
pub _f: [crate::c_char; 0],
}

pub struct msqid_ds {
pub msg_perm: ::ipc_perm,
pub msg_stime: ::time_t,
pub msg_rtime: ::time_t,
pub msg_ctime: ::time_t,
pub msg_perm: crate::ipc_perm,
pub msg_stime: crate::time_t,
pub msg_rtime: crate::time_t,
pub msg_ctime: crate::time_t,
__msg_cbytes: u64,
pub msg_qnum: ::msgqnum_t,
pub msg_qbytes: ::msglen_t,
pub msg_lspid: ::pid_t,
pub msg_lrpid: ::pid_t,
pub msg_qnum: crate::msgqnum_t,
pub msg_qbytes: crate::msglen_t,
pub msg_lspid: crate::pid_t,
pub msg_lrpid: crate::pid_t,
__glibc_reserved4: u64,
__glibc_reserved5: u64,
}

pub struct semid_ds {
pub sem_perm: ipc_perm,
pub sem_otime: ::time_t,
pub sem_otime: crate::time_t,
#[cfg(not(any(
target_arch = "aarch64",
target_arch = "loongarch64",
Expand All @@ -77,8 +77,8 @@ s! {
target_arch = "riscv64",
target_arch = "sparc64"
)))]
__reserved: ::__syscall_ulong_t,
pub sem_ctime: ::time_t,
__reserved: crate::__syscall_ulong_t,
pub sem_ctime: crate::time_t,
#[cfg(not(any(
target_arch = "aarch64",
target_arch = "loongarch64",
Expand All @@ -88,16 +88,16 @@ s! {
target_arch = "riscv64",
target_arch = "sparc64"
)))]
__reserved2: ::__syscall_ulong_t,
pub sem_nsems: ::__syscall_ulong_t,
__glibc_reserved3: ::__syscall_ulong_t,
__glibc_reserved4: ::__syscall_ulong_t,
__reserved2: crate::__syscall_ulong_t,
pub sem_nsems: crate::__syscall_ulong_t,
__glibc_reserved3: crate::__syscall_ulong_t,
__glibc_reserved4: crate::__syscall_ulong_t,
}
}

pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: usize = 8;

pub const O_LARGEFILE: ::c_int = 0;
pub const O_LARGEFILE: crate::c_int = 0;

cfg_if! {
if #[cfg(target_arch = "aarch64")] {
Expand Down
Loading

0 comments on commit 656e348

Please sign in to comment.