Stream: wasi

Topic: filesystem export test suite


view this post on Zulip Milan (rajsite) (Jun 12 2025 at 20:24):

I'm creating a wasm component that implements an in memory vfs and exports wasi:filesystem/types and wasi:filesystem/preopens. Any ideas / references for test suites to exercise the component's filesystem implementation?

view this post on Zulip Victor Adossi (Jun 13 2025 at 07:23):

I'm assuming you've already seen https://github.com/bytecodealliance/WASI-Virt ?

https://github.com/bytecodealliance/WASI-Virt/blob/main/tests/cases/fs-file-read.toml
https://github.com/bytecodealliance/WASI-Virt/blob/main/tests/components/file-read/src/lib.rs

Virtual implementations of WASI APIs. Contribute to bytecodealliance/WASI-Virt development by creating an account on GitHub.
Virtual implementations of WASI APIs. Contribute to bytecodealliance/WASI-Virt development by creating an account on GitHub.
Virtual implementations of WASI APIs. Contribute to bytecodealliance/WASI-Virt development by creating an account on GitHub.

view this post on Zulip Victor Adossi (Jun 13 2025 at 07:23):

Also excellent work by Yuta that is under ruby.wasm:

https://github.com/kateinoigakukun/wasi-vfs

A virtual filesystem layer for WASI. Contribute to kateinoigakukun/wasi-vfs development by creating an account on GitHub.

Last updated: Dec 06 2025 at 06:05 UTC