Skip to content

Commit 3aa0188

Browse files
committed
Add headers for WASI to libc-test/build.rs
1 parent 1168782 commit 3aa0188

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

libc-test/build.rs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1875,17 +1875,28 @@ fn test_wasi(target: &str) {
18751875
cfg.define("_GNU_SOURCE", None);
18761876

18771877
headers! { cfg:
1878+
"ctype.h",
1879+
"dirent.h",
18781880
"errno.h",
18791881
"fcntl.h",
18801882
"limits.h",
18811883
"locale.h",
18821884
"malloc.h",
1885+
"poll.h",
1886+
"stdbool.h",
18831887
"stddef.h",
18841888
"stdint.h",
18851889
"stdio.h",
18861890
"stdlib.h",
1891+
"string.h",
1892+
"sys/resource.h",
1893+
"sys/select.h",
1894+
"sys/socket.h",
18871895
"sys/stat.h",
1896+
"sys/times.h",
18881897
"sys/types.h",
1898+
"sys/uio.h",
1899+
"sys/utsname.h",
18891900
"time.h",
18901901
"unistd.h",
18911902
"wasi/core.h",

0 commit comments

Comments
 (0)