Skip to content

Commit f1e904e

Browse files
committed
chore: removing __uint128
1 parent 6b23c64 commit f1e904e

File tree

1 file changed

+6
-18
lines changed

1 file changed

+6
-18
lines changed

libc-test/build.rs

Lines changed: 6 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -356,9 +356,6 @@ fn test_apple(target: &str) {
356356
// FIXME(macos): Requires the macOS 14.4 SDK.
357357
"os_sync_wake_by_address_flags_t" | "os_sync_wait_on_address_flags_t" => true,
358358

359-
// FIXME(macos): "'__uint128' undeclared" in C
360-
"__uint128" => true,
361-
362359
_ => false,
363360
}
364361
});
@@ -2037,8 +2034,6 @@ fn test_android(target: &str) {
20372034
"posix_spawn_file_actions_t" => true,
20382035
"posix_spawnattr_t" => true,
20392036

2040-
// FIXME(android): "'__uint128' undeclared" in C
2041-
"__uint128" => true,
20422037
// Added in API level 24
20432038
"if_nameindex" => true,
20442039

@@ -3413,9 +3408,6 @@ fn test_neutrino(target: &str) {
34133408
// Does not exist in Neutrino
34143409
"locale_t" => true,
34153410

3416-
// FIXME: "'__uint128' undeclared" in C
3417-
"__uint128" => true,
3418-
34193411
_ => false,
34203412
}
34213413
});
@@ -3955,9 +3947,6 @@ fn test_linux(target: &str) {
39553947
// specific type.
39563948
"Ioctl" => true,
39573949

3958-
// FIXME: "'__uint128' undeclared" in C
3959-
"__uint128" => true,
3960-
39613950
t => {
39623951
if musl {
39633952
// LFS64 types have been removed in musl 1.2.4+
@@ -5525,9 +5514,9 @@ fn test_aix(target: &str) {
55255514
});
55265515

55275516
cfg.type_name(move |ty, is_struct, is_union| match ty {
5528-
"DIR" => ty.to_string(),
5529-
"FILE" => ty.to_string(),
5530-
"ACTION" => ty.to_string(),
5517+
"DIR" => ty.to_string(),
5518+
"FILE" => ty.to_string(),
5519+
"ACTION" => ty.to_string(),
55315520

55325521
// 'sigval' is a struct in Rust, but a union in C.
55335522
"sigval" => format!("union sigval"),
@@ -5614,9 +5603,9 @@ fn test_aix(target: &str) {
56145603
// POSIX-compliant versions in the system libc. As a result,
56155604
// function pointer comparisons between the C and Rust sides
56165605
// would fail.
5617-
"getpwuid_r" | "getpwnam_r" | "getgrgid_r" | "getgrnam_r"
5618-
| "aio_cancel" | "aio_error" | "aio_fsync" | "aio_read"
5619-
| "aio_return" | "aio_suspend" | "aio_write" | "select" => true,
5606+
"getpwuid_r" | "getpwnam_r" | "getgrgid_r" | "getgrnam_r" | "aio_cancel"
5607+
| "aio_error" | "aio_fsync" | "aio_read" | "aio_return" | "aio_suspend"
5608+
| "aio_write" | "select" => true,
56205609

56215610
// 'getdtablesize' is a constant in the AIX header but it is
56225611
// a real function in libc which the Rust side is resolved to.
@@ -5633,7 +5622,6 @@ fn test_aix(target: &str) {
56335622
}
56345623
});
56355624

5636-
56375625
cfg.volatile_item(|i| {
56385626
use ctest::VolatileItemKind::*;
56395627
match i {

0 commit comments

Comments
 (0)