@@ -22,93 +22,93 @@ module SwiftWASILibc [system] {
22
22
// C standard library
23
23
module C {
24
24
module ctype {
25
- header "${GLIBC_INCLUDE_PATH }/ctype.h"
25
+ header "${LIBC_INCLUDE_PATH }/ctype.h"
26
26
export *
27
27
}
28
28
module errno {
29
- header "${GLIBC_INCLUDE_PATH }/errno.h"
29
+ header "${LIBC_INCLUDE_PATH }/errno.h"
30
30
export *
31
31
}
32
32
33
33
module fenv {
34
- header "${GLIBC_INCLUDE_PATH }/fenv.h"
34
+ header "${LIBC_INCLUDE_PATH }/fenv.h"
35
35
export *
36
36
}
37
37
38
38
// note: supplied by compiler
39
39
// module float {
40
- // header "${GLIBC_INCLUDE_PATH }/float.h"
40
+ // header "${LIBC_INCLUDE_PATH }/float.h"
41
41
// export *
42
42
// }
43
43
44
44
module inttypes {
45
- header "${GLIBC_INCLUDE_PATH }/inttypes.h"
45
+ header "${LIBC_INCLUDE_PATH }/inttypes.h"
46
46
export *
47
47
}
48
48
49
49
// note: potentially supplied by compiler
50
50
// module iso646 {
51
- // header "${GLIBC_INCLUDE_PATH }/iso646.h"
51
+ // header "${LIBC_INCLUDE_PATH }/iso646.h"
52
52
// export *
53
53
// }
54
54
// module limits {
55
- // header "${GLIBC_INCLUDE_PATH }/limits.h"
55
+ // header "${LIBC_INCLUDE_PATH }/limits.h"
56
56
// export *
57
57
// }
58
58
59
59
module locale {
60
- header "${GLIBC_INCLUDE_PATH }/locale.h"
60
+ header "${LIBC_INCLUDE_PATH }/locale.h"
61
61
export *
62
62
}
63
63
module math {
64
- header "${GLIBC_INCLUDE_PATH }/math.h"
64
+ header "${LIBC_INCLUDE_PATH }/math.h"
65
65
export *
66
66
}
67
67
module signal {
68
- header "${GLIBC_INCLUDE_PATH }/signal.h"
68
+ header "${LIBC_INCLUDE_PATH }/signal.h"
69
69
export *
70
70
}
71
71
72
72
// note: supplied by the compiler
73
73
// module stdarg {
74
- // header "${GLIBC_INCLUDE_PATH }/stdarg.h"
74
+ // header "${LIBC_INCLUDE_PATH }/stdarg.h"
75
75
// export *
76
76
// }
77
77
// module stdbool {
78
- // header "${GLIBC_INCLUDE_PATH }/stdbool.h"
78
+ // header "${LIBC_INCLUDE_PATH }/stdbool.h"
79
79
// export *
80
80
// }
81
81
// module stddef {
82
- // header "${GLIBC_INCLUDE_PATH }/stddef.h"
82
+ // header "${LIBC_INCLUDE_PATH }/stddef.h"
83
83
// export *
84
84
// }
85
85
// module stdint {
86
- // header "${GLIBC_INCLUDE_PATH }/stdint.h"
86
+ // header "${LIBC_INCLUDE_PATH }/stdint.h"
87
87
// export *
88
88
// }
89
89
90
90
module stdio {
91
- header "${GLIBC_INCLUDE_PATH }/stdio.h"
91
+ header "${LIBC_INCLUDE_PATH }/stdio.h"
92
92
export *
93
93
}
94
94
module stdlib {
95
- header "${GLIBC_INCLUDE_PATH }/stdlib.h"
95
+ header "${LIBC_INCLUDE_PATH }/stdlib.h"
96
96
export *
97
97
export stddef
98
98
}
99
99
module string {
100
- header "${GLIBC_INCLUDE_PATH }/string.h"
100
+ header "${LIBC_INCLUDE_PATH }/string.h"
101
101
export *
102
102
}
103
103
104
104
// note: supplied by the compiler
105
105
// explicit module tgmath {
106
- // header "${GLIBC_INCLUDE_PATH }/tgmath.h"
106
+ // header "${LIBC_INCLUDE_PATH }/tgmath.h"
107
107
// export *
108
108
// }
109
109
110
110
module time {
111
- header "${GLIBC_INCLUDE_PATH }/time.h"
111
+ header "${LIBC_INCLUDE_PATH }/time.h"
112
112
export *
113
113
}
114
114
}
@@ -117,114 +117,114 @@ module SwiftWASILibc [system] {
117
117
module POSIX {
118
118
module arpa {
119
119
module inet {
120
- header "${GLIBC_INCLUDE_PATH }/arpa/inet.h"
120
+ header "${LIBC_INCLUDE_PATH }/arpa/inet.h"
121
121
export *
122
122
}
123
123
export *
124
124
}
125
125
module dirent {
126
- header "${GLIBC_INCLUDE_PATH }/dirent.h"
126
+ header "${LIBC_INCLUDE_PATH }/dirent.h"
127
127
export *
128
128
}
129
129
module fcntl {
130
- header "${GLIBC_INCLUDE_PATH }/fcntl.h"
130
+ header "${LIBC_INCLUDE_PATH }/fcntl.h"
131
131
export *
132
132
}
133
133
module fnmatch {
134
- header "${GLIBC_INCLUDE_PATH }/fnmatch.h"
134
+ header "${LIBC_INCLUDE_PATH }/fnmatch.h"
135
135
export *
136
136
}
137
137
module ioctl {
138
- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/ioctl.h"
138
+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/ioctl.h"
139
139
export *
140
140
}
141
141
module libgen {
142
- header "${GLIBC_INCLUDE_PATH }/libgen.h"
142
+ header "${LIBC_INCLUDE_PATH }/libgen.h"
143
143
export *
144
144
}
145
145
module netinet {
146
146
module in {
147
- header "${GLIBC_INCLUDE_PATH }/netinet/in.h"
147
+ header "${LIBC_INCLUDE_PATH }/netinet/in.h"
148
148
export *
149
149
150
- exclude header "${GLIBC_INCLUDE_PATH }/netinet6/in6.h"
150
+ exclude header "${LIBC_INCLUDE_PATH }/netinet6/in6.h"
151
151
}
152
152
module tcp {
153
- header "${GLIBC_INCLUDE_PATH }/netinet/tcp.h"
153
+ header "${LIBC_INCLUDE_PATH }/netinet/tcp.h"
154
154
export *
155
155
}
156
156
}
157
157
module poll {
158
- header "${GLIBC_INCLUDE_PATH }/poll.h"
158
+ header "${LIBC_INCLUDE_PATH }/poll.h"
159
159
export *
160
160
}
161
161
module regex {
162
- header "${GLIBC_INCLUDE_PATH }/regex.h"
162
+ header "${LIBC_INCLUDE_PATH }/regex.h"
163
163
export *
164
164
}
165
165
module sched {
166
- header "${GLIBC_INCLUDE_PATH }/sched.h"
166
+ header "${LIBC_INCLUDE_PATH }/sched.h"
167
167
export *
168
168
}
169
169
module semaphore {
170
- header "${GLIBC_INCLUDE_PATH }/semaphore.h"
170
+ header "${LIBC_INCLUDE_PATH }/semaphore.h"
171
171
export *
172
172
}
173
173
module strings {
174
- header "${GLIBC_INCLUDE_PATH }/strings.h"
174
+ header "${LIBC_INCLUDE_PATH }/strings.h"
175
175
export *
176
176
}
177
177
178
178
module sys {
179
179
export *
180
180
181
181
module mman {
182
- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/mman.h"
182
+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/mman.h"
183
183
export *
184
184
}
185
185
module resource {
186
- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/resource.h"
186
+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/resource.h"
187
187
export *
188
188
}
189
189
module select {
190
- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/select.h"
190
+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/select.h"
191
191
export *
192
192
}
193
193
module socket {
194
- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/socket.h"
194
+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/socket.h"
195
195
export *
196
196
}
197
197
module stat {
198
- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/stat.h"
198
+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/stat.h"
199
199
export *
200
200
}
201
201
module time {
202
- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/time.h"
202
+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/time.h"
203
203
export *
204
204
}
205
205
module times {
206
- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/times.h"
206
+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/times.h"
207
207
export *
208
208
}
209
209
module types {
210
- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/types.h"
210
+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/types.h"
211
211
export *
212
212
}
213
213
module uio {
214
- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/uio.h"
214
+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/uio.h"
215
215
export *
216
216
}
217
217
module un {
218
- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/un.h"
218
+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/un.h"
219
219
export *
220
220
}
221
221
module utsname {
222
- header "${GLIBC_ARCH_INCLUDE_PATH }/sys/utsname.h"
222
+ header "${LIBC_ARCH_INCLUDE_PATH }/sys/utsname.h"
223
223
export *
224
224
}
225
225
}
226
226
module unistd {
227
- header "${GLIBC_INCLUDE_PATH }/unistd.h"
227
+ header "${LIBC_INCLUDE_PATH }/unistd.h"
228
228
export *
229
229
}
230
230
}
0 commit comments