feat(p3): implement wasi:tls (#12834)* Split off p2-specific bits into submodule* Vendor the 0.3.0-draft WIT files* Host traits scaffolding* Rename p2 test* Work around bug in `tokio-native
feat(p3): implement wasi:tls (#12834)* Split off p2-specific bits into submodule* Vendor the 0.3.0-draft WIT files* Host traits scaffolding* Rename p2 test* Work around bug in `tokio-native-tls`* Create error type* Implement p3Co-authored-by: Roman Volosatovs <[email protected]>* Fix test on Windows' SChannelSame reason as described in https://github.com/bytecodealliance/wasmtime/pull/11064* Satisfy clippy* Fix typo---------Co-authored-by: Roman Volosatovs <[email protected]>
show more ...
WASIP3 update to latest rc (#12781)
chore: bump to wasi 0.3.0-rc-2026-02-09 (#12557)
feat(p3)!: vendor 0.3.0-rc-2026-01-06 (#12250)* feat(p3)!: vendor 0.3.0-rc-2026-01-06Update wasmtime's WASI implementation from version0.3.0-rc-2025-09-16 to 0.3.0-rc-2026-01-06, using wkg for W
feat(p3)!: vendor 0.3.0-rc-2026-01-06 (#12250)* feat(p3)!: vendor 0.3.0-rc-2026-01-06Update wasmtime's WASI implementation from version0.3.0-rc-2025-09-16 to 0.3.0-rc-2026-01-06, using wkg for WIT vendoring.This involves API changes in clocks and HTTP.* Handle some review comments* Update WASI implementations to avoid `as`This can have a loss in precision so this shuffles around some types toensure that `try_into` and friends are always used instead of `as`. Thischanges the source-of-truth for timestamps to be `i64` seconds so WASIp2is the odd-one-out that can't represent negative timestamps.* Flag expected WASI failures* Get wasi:http tests working again* Rename `proxy` module to `service` to reflect the WIT world.* Adjust the middleware test to using the `middleware` world.---------Co-authored-by: Alex Crichton <[email protected]>
feat(p3-http): implement `consume-body` changes (#11653)* feat(p3-http): implement `consume-body` changesSigned-off-by: Roman Volosatovs <[email protected]>* Update WITs to the latest snap
feat(p3-http): implement `consume-body` changes (#11653)* feat(p3-http): implement `consume-body` changesSigned-off-by: Roman Volosatovs <[email protected]>* Update WITs to the latest snapshot* Use the 2025-09-16 tag instead of 2025-08-15.* Pulls in `wasi:http` updates "officially".* Pulls in minor `wasi:cli` updates, and that's implemented here as well.---------Signed-off-by: Roman Volosatovs <[email protected]>Co-authored-by: Alex Crichton <[email protected]>
Update WASIp3 WITs to a tagged release (#11443)* Update WASIp3 WITs to a tagged releaseNow that there's an official tag it's best to use that, and this'll helpkeep everything in sync as well.*
Update WASIp3 WITs to a tagged release (#11443)* Update WASIp3 WITs to a tagged releaseNow that there's an official tag it's best to use that, and this'll helpkeep everything in sync as well.* Fix doc tests
feat(p3): begin `wasi:http` implementation (#11439)* doc: fix typo in p3 filesystem refSigned-off-by: Roman Volosatovs <[email protected]>* build: vendor `wasi:[email protected]` WITSigned-off-
feat(p3): begin `wasi:http` implementation (#11439)* doc: fix typo in p3 filesystem refSigned-off-by: Roman Volosatovs <[email protected]>* build: vendor `wasi:[email protected]` WITSigned-off-by: Roman Volosatovs <[email protected]>* feat(p3-http): scaffold p3 implementationSigned-off-by: Roman Volosatovs <[email protected]>* test(p3-http): add testsSigned-off-by: Roman Volosatovs <[email protected]>* chore(p3-http): add utils used by p3 testsSigned-off-by: Roman Volosatovs <[email protected]>* chore: add `expect` reasonsSigned-off-by: Roman Volosatovs <[email protected]>* address review commentsSigned-off-by: Roman Volosatovs <[email protected]>* establish `conn` connections on dropSigned-off-by: Roman Volosatovs <[email protected]>---------Signed-off-by: Roman Volosatovs <[email protected]>
Update WASIp3 wasi:sockets WITs (#11422)Brings in a few cosmetic changes to definitions to keep things up-to-date.Closes bytecodealliance/wasip3-prototyping#242
feat(wasip3): implement `wasi:sockets` (#11291)* chore(wasip3): update `wasi:sockets` WITpull in `wasi:sockets` fromhttps://github.com/WebAssembly/wasi-sockets/pull/126Signed-off-by: Roman Vol
feat(wasip3): implement `wasi:sockets` (#11291)* chore(wasip3): update `wasi:sockets` WITpull in `wasi:sockets` fromhttps://github.com/WebAssembly/wasi-sockets/pull/126Signed-off-by: Roman Volosatovs <[email protected]>* refactor: rearrange Ctx/ViewSigned-off-by: Roman Volosatovs <[email protected]>* refactor: name modules after packagesSigned-off-by: Roman Volosatovs <[email protected]>* refactor: move `Network` to `p2`Signed-off-by: Roman Volosatovs <[email protected]>* feat(wasip3): implement `wasi:sockets`Signed-off-by: Roman Volosatovs <[email protected]>* refactor: reuse socket utilitiesSigned-off-by: Roman Volosatovs <[email protected]>* test(wasip3): allow name resolution to failSigned-off-by: Roman Volosatovs <[email protected]>* fix: expect macos-only var to be unused on other OSesSigned-off-by: Roman Volosatovs <[email protected]>* refactor: whole buffer is written for UDPSigned-off-by: Roman Volosatovs <[email protected]>* undo non-blocking writeSigned-off-by: Roman Volosatovs <[email protected]>* extract buf capacity const, refactor tcp receiveSigned-off-by: Roman Volosatovs <[email protected]>* introduce container struct for TCP non-inherited optsSigned-off-by: Roman Volosatovs <[email protected]>* handle `listen` receiver closeSigned-off-by: Roman Volosatovs <[email protected]>* refactor: clean upSigned-off-by: Roman Volosatovs <[email protected]>* adapt to API changesprtest:fullSigned-off-by: Roman Volosatovs <[email protected]>* refactor: check for listen receiver close each iterationSigned-off-by: Roman Volosatovs <[email protected]>* Try to make test less flaky* Cut down on `#[cfg]` required for wasi:sockets* Fix test for real this time---------Signed-off-by: Roman Volosatovs <[email protected]>Co-authored-by: Alex Crichton <[email protected]>
feat: begin wasip3 implementation (#11221)* ci: add subdir supportSigned-off-by: Roman Volosatovs <[email protected]>* feat: extract common `WasiCtxBuilder`Signed-off-by: Roman Volosatov
feat: begin wasip3 implementation (#11221)* ci: add subdir supportSigned-off-by: Roman Volosatovs <[email protected]>* feat: extract common `WasiCtxBuilder`Signed-off-by: Roman Volosatovs <[email protected]>* chore: vendor p3 WITSigned-off-by: Roman Volosatovs <[email protected]>* feat: begin wasip3 implementationSigned-off-by: Roman Volosatovs <[email protected]>* chore(wasip3): remove now-redundant async stubsSigned-off-by: Roman Volosatovs <[email protected]>* test(wasip3): link wasip2Signed-off-by: Roman Volosatovs <[email protected]>* refactor: `allow` -> `expect`Signed-off-by: Roman Volosatovs <[email protected]>* chore: add bindgen `tracing` issue refref https://github.com/bytecodealliance/wasmtime/issues/11245Signed-off-by: Roman Volosatovs <[email protected]>* chore: adapt to `Accessor` API changes- hide `CommandPre`, since it is currently unusable https://github.com/bytecodealliance/wasmtime/issues/11249- use `Command::new` directly in examples, since `instantiate_async` does not provide a way to call an exportSigned-off-by: Roman Volosatovs <[email protected]>* doc: add a link to p3 `add_to_linker`Signed-off-by: Roman Volosatovs <[email protected]>---------Signed-off-by: Roman Volosatovs <[email protected]>