zig icon indicating copy to clipboard operation
zig copied to clipboard

Update wasi-libc to d03829489904d38c624f6de9983190f1e5e7c9c5

Open jedisct1 opened this issue 10 months ago • 5 comments

Most notable improvements include realpath and stubs for statvfs, chmod, etc.

Other changes are for WASI 0.2 which is going to be painful to support since 3rd party tools written in Rust may become necessary in addition to LLVM (https://github.com/WebAssembly/wasi-sdk/pull/402)

jedisct1 avatar Apr 11 '24 14:04 jedisct1

This also removes junk we were shipping but irrelevant to webassembly.

jedisct1 avatar Apr 11 '24 14:04 jedisct1

10KLoc reduce, feel so good

lin72h avatar Apr 12 '24 21:04 lin72h

Added the wasi-libc libdl shim, so that tools such as py2wasm can use zig cc.

jedisct1 avatar Apr 18 '24 19:04 jedisct1

man. wasi-libc kinda sucks. how about we provide libc via zig code instead?

andrewrk avatar Jun 08 '24 20:06 andrewrk

wasi-libc is horrible. And it's getting worse with the wasi preview 2 bits.

But rewriting it in Zig would be a lot of work.

jedisct1 avatar Jun 08 '24 20:06 jedisct1