Skip to content

Commit e0131dc

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 e0131dc

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

stdlib/public/Platform/wasi-libc.modulemap

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,8 @@ module wasi_emulated_signal {
8888
link "wasi-emulated-signal"
8989
export *
9090
}
91+
92+
module wasi_pthread {
93+
header "pthread.h"
94+
export *
95+
}

0 commit comments

Comments
 (0)