Skip to content

Commit 57c6247

Browse files
[wasm] Exclude setjmp.h from WASILibc module
because setjmp cannot be implmemented on Wasm without future features like Stack-Switching
1 parent 824afac commit 57c6247

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stdlib/public/Platform/SwiftWASILibc.h.gyb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ headers = [
1616
'locale.h',
1717
'math.h',
1818
'pty.h',
19-
'setjmp.h',
19+
# setjmp/longjmp is not available
20+
# 'setjmp.h',
2021
'signal.h',
2122
'stdarg.h',
2223
'stdbool.h',

0 commit comments

Comments
 (0)