-
The internal struct used by `stat` calls does not have a field for the mode of the file (read/write/execute bits), and `stat`, `lstat`, `fstat`, `fstatat` all return zeros for these bits.
The impleme…
-
# Components and Constructors
Pat Hickey, 28 Feb 2023
Presently, there are some major problems using C/C++ constructors (ctors) with the component model.
* Rust and C/C++ guests need to defin…
-
It would be good for WASI to be able to expose the information needed to implement the POSIX LANG, LC_*, and TZ environment variables.
One option would be to literally forward these environment var…
-
Currently, the corresponding code for `mkstemp`, `mkostemp` and `mkdtemp` is commented out, so any C code relying on those functions fails to compile:
https://github.com/WebAssembly/wasi-libc/blob/5c…
-
**Affected crates:** quickjs-wasm-sys, quickjs-wasm-rs, javy, javy-apis
The four crates above need access to [a WASI SDK](https://github.com/WebAssembly/wasi-sdk/releases/tag/wasi-sdk-20) to co…
-
Transferred from https://github.com/bytecodealliance/wasmtime/issues/6396
---
wasi-libc's behavior (and hence Wasmtime's behavior) for directory listings (via the WASI `fd_readdir` API?) is surp…
-
The [WASI libc stat implementation](https://github.com/CraneStation/wasi-libc/blob/master/libc-bottom-half/cloudlibc/src/libc/sys/stat/stat_impl.h#L24) doesn't currently assign the following fields in…
-
I want use wasi-sdk as backend c++ compiler/std-libraries to build my little library. Emscripten it seems too huge and highweight for my tasks. So I need just build library as wasm with supporting me…
-
`errno` crate lists multiple targets that depend on `libc` crate ([Cargo.toml](https://github.com/lambda-fairy/rust-errno/blob/main/Cargo.toml)):
```
[target.'cfg(unix)'.dependencies]
libc = "0.2"
…
-
`cargo-wasi` is being archived, so users need a replacement.
`cargo-wasix` could be what we should use and recommend instead. But it currently requires/install the `wasix-libc` as well as an old Ru…