WASI-Virt icon indicating copy to clipboard operation
WASI-Virt copied to clipboard

Rename `wasi:config/runtime` to `wasi:config/store`

Open scothis opened this issue 1 year ago • 1 comments

The wasi:config/runtime interface was renamed upstream to wasi:config/store. The repository was also renamed from github.com/WebAssembly/wasi-runtime-config to github.com/WebAssembly/wasi-config, cementing the shift away from "runtime".

This commit replaces the support for the runtime interface and replaces it with the functionally equivalent store interface. It also removes references to "runtime" config in the readme and CLI help.

Since the interface is still draft and support labeled as experimental, backwards compatibility is not preserved.

Refs https://github.com/WebAssembly/wasi-config/issues/17 https://github.com/bytecodealliance/wasmtime/pull/9404

scothis avatar Oct 09 '24 18:10 scothis

Keeping as a draft until the wasmtime changes land in a proper release. Although since these are only dev dependencies I wouldn't object to merging earlier if it's desired.

scothis avatar Oct 09 '24 18:10 scothis

This has now landed in Wasmtime 26 I believe, shall we go ahead and merge?

guybedford avatar Oct 28 '24 18:10 guybedford

This has now landed in Wasmtime 26 I believe, shall we go ahead and merge?

Wasmtime 26 still has wasi:config/runtime, 27 will have the updated interface.

scothis avatar Oct 29 '24 01:10 scothis

@guybedford Wasmtime 27 was released today. Rebased and updated.

Also needed to bump the rust version. I picked the last nightly that supports the wasm32-wasi target.

scothis avatar Nov 20 '24 21:11 scothis

Great, thank you!

guybedford avatar Nov 20 '24 21:11 guybedford