softprops opened Issue #2691:
I'm in the process of upgrading both wasmtime and wasmtime-wasi from 0.22 this was pretty straight forward except that I noticed
WasiCtxBuilder::new()
was removed. I'd previously used this to construct a new Wasi instance as followslet wasi = Wasi::new( &store, WasiCtxBuilder::new() .inherit_stdout() .inherit_stderr() .build()?, );
It's unclear what the upgrade path is. There wasn't an explicit callout in the release notes
I'm also noticing the docs hosted on docs.rs seem to stop publishing at 0.21
softprops commented on Issue #2691:
for anyone else that hits this upgrade bump. You'll want to use a new provider crate https://crates.io/crates/wasi-cap-std-sync
The upgrade path is just
++ use wasi_cap_std_sync::WasiCtxBuilder; -- use wasmtime_wasi::WasiCtxBuilder;
softprops closed Issue #2691:
I'm in the process of upgrading both wasmtime and wasmtime-wasi from 0.22 this was pretty straight forward except that I noticed
WasiCtxBuilder::new()
was removed. I'd previously used this to construct a new Wasi instance as followslet wasi = Wasi::new( &store, WasiCtxBuilder::new() .inherit_stdout() .inherit_stderr() .build()?, );
It's unclear what the upgrade path is. There wasn't an explicit callout in the release notes
I'm also noticing the docs hosted on docs.rs seem to stop publishing at 0.21
sunfishcode commented on Issue #2691:
Thanks for pointing this out! I've now fixed https://github.com/bytecodealliance/wasmtime/pull/2694 to add this to the RELEASES.md document.
Last updated: Dec 23 2024 at 12:05 UTC