alexcrichton opened PR #11360 from alexcrichton:wasi-switch-blanket to bytecodealliance:main:
This commit removes blanket "forwarding" impls for
&mut TandBox<T>in favor of having forwarding impls ofWasiViewimplying specific interfaces such asWasiRandomViewfor example. This is intended to make future integration with wasi-http easier where wasi-http will take a few specific proposals (e.g. notWasiFilesystemView) but implementingWasiViewfor 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:
If this work has been discussed elsewhere, please include a link to that
conversation. If it was discussed in an issue, just mention "issue #...".Explain why this change is needed. If the details are in an issue already,
this can be brief.Our development process is documented in the Wasmtime book:
https://docs.wasmtime.dev/contributing-development-process.htmlPlease ensure all communication follows the code of conduct:
https://github.com/bytecodealliance/wasmtime/blob/main/CODE_OF_CONDUCT.md
-->
alexcrichton requested wasmtime-wasi-reviewers for a review on PR #11360.
pchickey submitted PR review.
alexcrichton merged PR #11360.
Last updated: Jan 10 2026 at 02:36 UTC