Skip to content

Commit d1056f4

Browse files
wasm: Add pthread.h to the WASI libc modulemap
Recent wasi-libc has added `pthread.h` to its headers. This patch adds it to the modulemap.
1 parent 43cdee3 commit d1056f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

stdlib/public/Platform/wasi-libc.modulemap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ module SwiftWASILibc [system] {
4545
header "netinet/tcp.h"
4646
header "nl_types.h"
4747
header "poll.h"
48+
header "pthread.h"
4849
header "regex.h"
4950
header "sched.h"
5051
header "search.h"

0 commit comments

Comments
 (0)