Skip to content

Commit 4e5ed65

Browse files
committed
Run cargo fix --edition on x86_64-unknown-linux-gnu
1 parent c780df0 commit 4e5ed65

File tree

9 files changed

+7629
-7257
lines changed

9 files changed

+7629
-7257
lines changed

src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,10 +96,10 @@ cfg_if! {
9696
pub use solid::*;
9797
} else if #[cfg(unix)] {
9898
mod fixed_width_ints;
99-
pub use fixed_width_ints::*;
99+
pub use crate::fixed_width_ints::*;
100100

101101
mod unix;
102-
pub use unix::*;
102+
pub use crate::unix::*;
103103
} else if #[cfg(target_os = "hermit")] {
104104
mod fixed_width_ints;
105105
pub use fixed_width_ints::*;

src/unix/linux_like/linux/arch/generic/mod.rs

+229-229
Large diffs are not rendered by default.

src/unix/linux_like/linux/gnu/b64/mod.rs

+21-21
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub type rlim_t = u64;
1212
#[cfg(all(target_arch = "x86_64", target_pointer_width = "32"))]
1313
pub type __syscall_ulong_t = ::c_ulonglong;
1414
#[cfg(not(all(target_arch = "x86_64", target_pointer_width = "32")))]
15-
pub type __syscall_ulong_t = ::c_ulong;
15+
pub type __syscall_ulong_t = crate::c_ulong;
1616

1717
cfg_if! {
1818
if #[cfg(all(target_arch = "aarch64", target_pointer_width = "32"))] {
@@ -43,31 +43,31 @@ s! {
4343
pub bufferram: u64,
4444
pub totalswap: u64,
4545
pub freeswap: u64,
46-
pub procs: ::c_ushort,
47-
pub pad: ::c_ushort,
46+
pub procs: crate::c_ushort,
47+
pub pad: crate::c_ushort,
4848
pub totalhigh: u64,
4949
pub freehigh: u64,
50-
pub mem_unit: ::c_uint,
51-
pub _f: [::c_char; 0],
50+
pub mem_unit: crate::c_uint,
51+
pub _f: [crate::c_char; 0],
5252
}
5353

5454
pub struct msqid_ds {
55-
pub msg_perm: ::ipc_perm,
56-
pub msg_stime: ::time_t,
57-
pub msg_rtime: ::time_t,
58-
pub msg_ctime: ::time_t,
55+
pub msg_perm: crate::ipc_perm,
56+
pub msg_stime: crate::time_t,
57+
pub msg_rtime: crate::time_t,
58+
pub msg_ctime: crate::time_t,
5959
__msg_cbytes: u64,
60-
pub msg_qnum: ::msgqnum_t,
61-
pub msg_qbytes: ::msglen_t,
62-
pub msg_lspid: ::pid_t,
63-
pub msg_lrpid: ::pid_t,
60+
pub msg_qnum: crate::msgqnum_t,
61+
pub msg_qbytes: crate::msglen_t,
62+
pub msg_lspid: crate::pid_t,
63+
pub msg_lrpid: crate::pid_t,
6464
__glibc_reserved4: u64,
6565
__glibc_reserved5: u64,
6666
}
6767

6868
pub struct semid_ds {
6969
pub sem_perm: ipc_perm,
70-
pub sem_otime: ::time_t,
70+
pub sem_otime: crate::time_t,
7171
#[cfg(not(any(
7272
target_arch = "aarch64",
7373
target_arch = "loongarch64",
@@ -77,8 +77,8 @@ s! {
7777
target_arch = "riscv64",
7878
target_arch = "sparc64"
7979
)))]
80-
__reserved: ::__syscall_ulong_t,
81-
pub sem_ctime: ::time_t,
80+
__reserved: crate::__syscall_ulong_t,
81+
pub sem_ctime: crate::time_t,
8282
#[cfg(not(any(
8383
target_arch = "aarch64",
8484
target_arch = "loongarch64",
@@ -88,16 +88,16 @@ s! {
8888
target_arch = "riscv64",
8989
target_arch = "sparc64"
9090
)))]
91-
__reserved2: ::__syscall_ulong_t,
92-
pub sem_nsems: ::__syscall_ulong_t,
93-
__glibc_reserved3: ::__syscall_ulong_t,
94-
__glibc_reserved4: ::__syscall_ulong_t,
91+
__reserved2: crate::__syscall_ulong_t,
92+
pub sem_nsems: crate::__syscall_ulong_t,
93+
__glibc_reserved3: crate::__syscall_ulong_t,
94+
__glibc_reserved4: crate::__syscall_ulong_t,
9595
}
9696
}
9797

9898
pub const __SIZEOF_PTHREAD_RWLOCKATTR_T: usize = 8;
9999

100-
pub const O_LARGEFILE: ::c_int = 0;
100+
pub const O_LARGEFILE: crate::c_int = 0;
101101

102102
cfg_if! {
103103
if #[cfg(target_arch = "aarch64")] {

0 commit comments

Comments
 (0)