-
# Summary
This is a proposal to add [wasi-sockets](https://github.com/WebAssembly/wasi-sockets) support to `wasi-libc` as a first step towards full WASI Preview 2 support. This includes adding a n…
dicej updated
6 months ago
-
At the BA summit this past weekend I discussed with a few folks about what it might look like to implement `dlopen` from C in the component model. What follows is a rough sketch about how this might b…
-
The only shim that has not been removed is [`DirectoryEnumerator`](https://github.com/kkk669/swift-format/blob/wasm32-wasi/Sources/WASIHelpers/FileManager.swift).
Unfortunately, it needs `fts(3)` t…
kkebo updated
1 month ago
-
## Motivation
We would like to have a working implementation of all the WASI libc filesystem functions on Windows. This is currently not possible due to the use of various [POSIX file functions](ht…
-
I'm not 100% certain this is a bug in harpoon. As I'm not a Rust developer, things are a little bit less clear to me.
```shell
brandon@Air temp % git clone git@github.com:Nacho114/harpoon.git
Cl…
-
Tested on Linux with `wasmtime` `v9.0.1` and `wasi-sdk-20.0`.
The following code (saved as `open-rw.c`) tries to open a file (that exists) for reading and writing:
```c
#include
#include
…
-
In [this repo](https://github.com/ggoodman/wasi-import-repro), I've shown two scenarios where code that is functionally identical produces very different WASM binaries.
### Setup
The two scenari…
-
I've looked high and low between the WASM/WASI specifications and can't find what is the "correct" behavior here but the current rust behavior seems wrong to me.
I don't believe we should be trying…
-
We have jobs to build wasi-libc/wasi-sdk with clang/llvm trunk. (that's why you see me regularly add filters for new defines).
This time, a new warning was added on clang trunk, and it catches exis…
-
We implemented `brk`/`sbrk` in glibc (userspace) by over-allocating to a page-aligned address and exposing a pseudo-break to the caller. This makes `malloc` fully functional for small chunks using `sb…