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
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)
Last updated: Dec 06 2025 at 06:05 UTC