Skip to content

Commit 06a0295

Browse files
committed
Skip ENOATTR until issue resolved
1 parent 755f04a commit 06a0295

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

libc-test/build.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1399,13 +1399,9 @@ fn test_android(target: &str) {
13991399

14001400
cfg.skip_const(move |name| {
14011401
match name {
1402-
// Android uses old kernel headers
1403-
// These are constants used in getrandom syscall
1404-
// "GRND_NONBLOCK" | "GRND_RANDOM" => true,
1405-
1406-
// Defined by libattr not libc on linux (hard to test).
1407-
// See constant definition for more details.
1408-
// "ENOATTR" => true,
1402+
// FIXME: not available in any header
1403+
// See: https://github.com/rust-lang/libc/issues/1356
1404+
"ENOATTR" => true,
14091405

14101406
// FIXME: still necessary?
14111407
"SIG_DFL" | "SIG_ERR" | "SIG_IGN" => true, // sighandler_t weirdness

0 commit comments

Comments
 (0)