Skip to content

Commit 35120a1

Browse files
[wasm] Exclude builtin headers from WASILibc system module
stable/20230725 now rejects including builtin headers in modulemap by default to avoid module cycles on non-Apple platforms. Builtin headers are now part of their own `_Builtin_XXX` modules. See: - swiftlang/llvm-project#7618 - https://reviews.llvm.org/D159483 - https://reviews.llvm.org/D159064
1 parent 37d11c9 commit 35120a1

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

stdlib/public/Platform/wasi-libc.modulemap

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,12 @@ module SwiftWASILibc [system] {
1919
header "ctype.h"
2020
header "errno.h"
2121
header "fenv.h"
22-
header "float.h"
2322
header "inttypes.h"
24-
header "iso646.h"
25-
header "limits.h"
2623
header "locale.h"
2724
header "math.h"
28-
header "stdarg.h"
29-
header "stdbool.h"
30-
header "stddef.h"
31-
header "stdint.h"
3225
header "stdio.h"
3326
header "stdlib.h"
3427
header "string.h"
35-
header "tgmath.h"
3628
header "time.h"
3729

3830
// POSIX

0 commit comments

Comments
 (0)