alexcrichton opened PR #6946 from alexcrichton:require-wasmtime-options-first
to bytecodealliance:main
:
This commit implements a new behavior for the CLI of the
wasmtime
executable which will require that options for Wasmtime itself come before the wasm module being run. Currently they're allowed to come afterwards, but instead all arguments and flags coming after a module will be interpreted as arguments for the module itself.This feature has a bit of a storied history at this point, and the breadcrumbs are:
- Originally landed in #6737
- Reverted for 12.0.0 in #6830
- Reverted for 13.0.0 in #6944
This PR is intended to be landed as a sibling of #6925, another independent overhaul of Wasmtime's own options on the CLI, for the Wasmtime 14.0.0 release. More information about the motivation for this change, as well as consequences of the fallout, can be found on #6737.
<!--
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 has marked PR #6946 as ready for review.
alexcrichton requested fitzgen for a review on PR #6946.
alexcrichton requested wasmtime-core-reviewers for a review on PR #6946.
alexcrichton requested pchickey for a review on PR #6946.
alexcrichton requested fitzgen for a review on PR #6946.
fitzgen submitted PR review.
alexcrichton updated PR #6946.
alexcrichton has enabled auto merge for PR #6946.
alexcrichton updated PR #6946.
alexcrichton merged PR #6946.
Last updated: Nov 22 2024 at 16:03 UTC