Skip to content

Commit f687fd2

Browse files
committed
Deprecate __uint128_t type
1 parent 4159080 commit f687fd2

File tree

5 files changed

+4
-5
lines changed

5 files changed

+4
-5
lines changed

src/primitives.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,6 @@ cfg_if! {
135135
/// C __int128_t (alternate name for [__int128][])
136136
pub type __int128_t = i128;
137137
/// C __uint128_t (alternate name for [__uint128][])
138-
pub type __uint128_t = u128;
139138
140139
// NOTE: if you add more platforms to here, you may need to cfg
141140
// these consts. They should always match the platform's values

src/unix/bsd/apple/b64/aarch64/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ s! {
4040
}
4141

4242
pub struct __darwin_arm_neon_state64 {
43-
pub __v: [crate::__uint128_t; 32],
43+
pub __v: [u128; 32],
4444
pub __fpsr: u32,
4545
pub __fpcr: u32,
4646
}

src/unix/linux_like/android/b64/aarch64/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ s! {
7878
}
7979

8080
pub struct user_fpsimd_struct {
81-
pub vregs: [crate::__uint128_t; 32],
81+
pub vregs: [u128; 32],
8282
pub fpsr: u32,
8383
pub fpcr: u32,
8484
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ s! {
218218
}
219219

220220
pub struct user_fpsimd_struct {
221-
pub vregs: [crate::__uint128_t; 32],
221+
pub vregs: [u128; 32],
222222
pub fpsr: c_uint,
223223
pub fpcr: c_uint,
224224
}

src/unix/linux_like/linux/musl/b64/aarch64/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ s! {
105105
}
106106

107107
pub struct user_fpsimd_struct {
108-
pub vregs: [crate::__uint128_t; 32],
108+
pub vregs: [u128; 32],
109109
pub fpsr: u32,
110110
pub fpcr: u32,
111111
}

0 commit comments

Comments
 (0)