Skip to content

Commit f6be86f

Browse files
committed
Skip preadv2/pwritev2 for Android
Android tests run against API level 28, preadv2 and pwritev2 were introduced in API level 33.
1 parent b0c56b5 commit f6be86f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

libc-test/build.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2205,6 +2205,9 @@ fn test_android(target: &str) {
22052205
// Added in API level 30, but tests use level 28.
22062206
"memfd_create" | "mlock2" | "renameat2" | "statx" | "statx_timestamp" => true,
22072207

2208+
// Added in API level 33, but tests use level 28.
2209+
"preadv2" | "pwritev2" => true,
2210+
22082211
// Added in glibc 2.25.
22092212
"getentropy" => true,
22102213

0 commit comments

Comments
 (0)