Stream: wasi

Topic: Does `wasi-common/sync` really require `wasmtime`?


view this post on Zulip Robin Freyler (Jul 01 2024 at 22:25):

I was looking at wasi-common's sync feature and it seems to be depending on wasmtime as dependency.
I found this to be weird and checked out the repo locally and just removed the line in the Cargo.toml after not really seeing any real dependency on Wasmtime. Everything still compiled with cargo build -p wasi-common --no-default-features --features sync. Is this simply outdated? It would be great if other WASI runtimes (such as Wasmi) could use wasi-common with its sync feature to enable WASI and drop the heavily outdated wasi-cap-std-sync crate entirely.

Link to Cargo.toml: https://github.com/bytecodealliance/wasmtime/blob/main/crates/wasi-common/Cargo.toml#L82

A fast and secure runtime for WebAssembly. Contribute to bytecodealliance/wasmtime development by creating an account on GitHub.

view this post on Zulip Robin Freyler (Jul 02 2024 at 09:14):

For reference I posted a proper issue in the Wasmtime repo since it occurred to me that it probably is the better place to ask such a technical question. (https://github.com/bytecodealliance/wasmtime/issues/8894)

I am writing this issue since I think it is the better place to ask than my question at Zulip. I was looking at wasi-common's sync crate feature and it seems to be depending on wasmtime as dependen...

Last updated: Oct 23 2024 at 20:03 UTC