wasi-libc icon indicating copy to clipboard operation
wasi-libc copied to clipboard

WASI libc implementation for WebAssembly

Results 90 wasi-libc issues
Sort by recently updated
recently updated
newest added

https://github.com/WebAssembly/wasi-libc/blob/7d4d3b83fc66c79b3faa5989e67ed2d1042dacaf/libc-bottom-half/sources/sockopt.c#L464-L470

https://github.com/WebAssembly/wasi-libc/blob/7d4d3b83fc66c79b3faa5989e67ed2d1042dacaf/libc-bottom-half/cloudlibc/src/libc/sys/stat/fstat.c#L12-L21

This change re-imagines [wasi-sdk#487] entirely in `wasi-libc`. Instead of generating a `version.h` header late--in `wasi-sdk`--it is generated immediately when `wasi-libc` is built. This has the disadvantage that we don't know...

Close https://github.com/WebAssembly/wasi-libc/issues/520 Add FTS implementation derived from musl-fts with a few modifications. The compiled fts.o is included in the libc.a archive, and the fts.h header is installed in the sysroot...

Instead of just defining the constants which are needed by Rust's standard library, would it make sense to simply expose all `SO_` constants? And if so, would it be a...

While WASI does not (yet) support UDP broadcast or TCP linger, it would still be useful if these constants were defined, similar to how all the `IP_*`, `IPV6_*` and `TCP_*`...

This is a follow-up PR for #524 by implementing the following features: - Embeds a minimal network services database with 17 common protocols, suggested by @badeend. The database array is...

This change makes it so that the timestamps of installed header files are only updated when the contents of the header files change. This change is beneficial for incremental builds...

this is a part of fixes for a regression caused by the shared library support. (https://github.com/WebAssembly/wasi-libc/issues/485) it consists of two changes: * make clang link another crt object (https://github.com/llvm/llvm-project/pull/104755) *...

When we call `mkdirat()` it calls `mkdir()` https://github.com/WebAssembly/wasi-libc/blob/main/libc-bottom-half/sources/at_fdcwd.c#L47 And 'mkdir()' ignores `mode` https://github.com/WebAssembly/wasi-libc/blob/main/libc-bottom-half/sources/posix.c#L221 So, it does take 'mode' parameter from the developer, but it doesn't set the mode for the...