Stream: git-wasmtime

Topic: wasmtime / PR #11360 Switch blanket impls for WASI traits


view this post on Zulip Wasmtime GitHub notifications bot (Jul 31 2025 at 17:14):

alexcrichton opened PR #11360 from alexcrichton:wasi-switch-blanket to bytecodealliance:main:

This commit removes blanket "forwarding" impls for &mut T and Box<T> in favor of having forwarding impls of WasiView implying specific interfaces such as WasiRandomView for example. This is intended to make future integration with wasi-http easier where wasi-http will take a few specific proposals (e.g. not WasiFilesystemView) but implementing WasiView for a contexet will still be sufficient (as opposed to requiring multiple implementations of separate traits).

The original use case of forwarding impls has more-or-less been refactored away at this point so I don't think it's as critical to preserve them.

<!--
Please make sure you include the following information:

Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.html

Please ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->

view this post on Zulip Wasmtime GitHub notifications bot (Jul 31 2025 at 17:14):

alexcrichton requested wasmtime-wasi-reviewers for a review on PR #11360.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 31 2025 at 17:41):

pchickey submitted PR review.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 31 2025 at 18:10):

alexcrichton merged PR #11360.


Last updated: Jan 10 2026 at 02:36 UTC