aboutsummaryrefslogtreecommitdiff
path: root/src/link.zig
diff options
context:
space:
mode:
authorJakub Konka <kubkon@jakubkonka.com>2021-06-05 01:08:47 +0200
committerJakub Konka <kubkon@jakubkonka.com>2021-06-09 01:25:38 +0200
commit6f6182a5f3a4b027bbff6405600fd21b3ef8b86c (patch)
treea70d28c3608c940b5ee4cabafe9ec90df54149bf /src/link.zig
parent2d43db1d767ec56183cd7cf3ee8c5fd929548beb (diff)
downloadzig-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/link.zig')
0 files changed, 0 insertions, 0 deletions