alexcrichton opened PR #11423 from alexcrichton:wasip3-cli to bytecodealliance:main:
This commit adds a new WASI-specific CLI option dubbed "p3" which controls whether WASIp3 interfaces are added to the component linker and whether WASIp3 exports are searched for. Integration here is only added with
wasmtime runand support forwasmtime servewill come once wasi:http is migrated to this repository from the p3-prototyping repository.The
-Sp3option is off-by-default at this time but this is structured to enable it by default in the future. A test is added to ensure that WASIp3 is usable and a basic "hello world" works.Some internal refactoring was done to share more code between
runandservewith respect to adding WASI interfaces to a linker.Closes bytecodealliance/wasip3-prototyping#108
<!--
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 dicej for a review on PR #11423.
alexcrichton requested wasmtime-core-reviewers for a review on PR #11423.
alexcrichton requested wasmtime-default-reviewers for a review on PR #11423.
alexcrichton updated PR #11423.
dicej submitted PR review.
alexcrichton updated PR #11423.
alexcrichton has enabled auto merge for PR #11423.
alexcrichton merged PR #11423.
Last updated: Dec 06 2025 at 06:05 UTC