diff options
author | bors <bors@rust-lang.org> | 2022-02-12 17:12:19 +0000 |
---|---|---|
committer | bors <bors@rust-lang.org> | 2022-02-12 17:12:19 +0000 |
commit | 14c9ec101d44e3c55366db10a6456030748f2f75 (patch) | |
tree | 5016469c18a741da999b8a5eb9658bbf3decac10 /libc-test | |
parent | f0a06e2e6d5e89019c6262ddb92c5dc241923b2a (diff) | |
parent | c620c5577e0a74a67baec7a9b1b7276d03cf1d2a (diff) | |
download | rust-libc-14c9ec101d44e3c55366db10a6456030748f2f75.tar.gz |
Auto merge of #2661 - devnexen:solarish_lgrp_api, r=Amanieu
solarish lgrp api subset
Diffstat (limited to 'libc-test')
-rw-r--r-- | libc-test/build.rs | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs index ded15ec49e..0e32f188ce 100644 --- a/libc-test/build.rs +++ b/libc-test/build.rs @@ -775,6 +775,7 @@ fn test_solarish(target: &str) { "sys/file.h", "sys/filio.h", "sys/ioctl.h", + "sys/lgrp_user.h", "sys/loadavg.h", "sys/mman.h", "sys/mount.h", @@ -809,12 +810,9 @@ fn test_solarish(target: &str) { "wchar.h", } - cfg.skip_type(move |ty| { - match ty { - // sighandler_t is not present here - "sighandler_t" => true, - _ => false, - } + cfg.skip_type(move |ty| match ty { + "sighandler_t" => true, + _ => false, }); cfg.type_name(move |ty, is_struct, is_union| match ty { |