diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2021-06-05 01:08:47 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2021-06-09 01:25:38 +0200 |
| commit | 6f6182a5f3a4b027bbff6405600fd21b3ef8b86c (patch) | |
| tree | a70d28c3608c940b5ee4cabafe9ec90df54149bf /src/Compilation.zig | |
| parent | 2d43db1d767ec56183cd7cf3ee8c5fd929548beb (diff) | |
| download | zig-6f6182a5f3a4b027bbff6405600fd21b3ef8b86c.tar.gz zig-6f6182a5f3a4b027bbff6405600fd21b3ef8b86c.zip | |
zig,cc,wasi: include emulated libs in WASI libc
This commit includes emulated libc sublibs that were not included
in the compilation and caching of WASI libc that ships with Zig.
The libs include (emulated): process clocks, getpid, mman, and signal.
With this change, it is now possible to successfully cross-compile
`wasm3` engine to WASI with `zig cc`.
For the future though, it might be worth considering splitting WASI
libc into libc-proper and modularised emulated libs as it is done
in upstream, and then have them included only if the user specifically
requests emulation/parts of it.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
