-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wasmtime serve
broken in 14.0.0 branch
#7396
Labels
bug
Incorrect behavior in the current implementation that needs fixing
Comments
tschneidereit
added
the
bug
Incorrect behavior in the current implementation that needs fixing
label
Oct 29, 2023
alexcrichton
added a commit
to alexcrichton/wasmtime
that referenced
this issue
Oct 29, 2023
This commit updates the parsing of the old CLI to understand new subcommands to ensure that `wasmtime serve foo.wasm` isn't mistakenly interpreted in the old CLI as executing the module `serve` with the argument `foo.wasm`. Closes bytecodealliance#7396
alexcrichton
added a commit
to alexcrichton/wasmtime
that referenced
this issue
Oct 29, 2023
This commit updates the parsing of the old CLI to understand new subcommands to ensure that `wasmtime serve foo.wasm` isn't mistakenly interpreted in the old CLI as executing the module `serve` with the argument `foo.wasm`. Closes bytecodealliance#7396
alexcrichton
added a commit
that referenced
this issue
Oct 30, 2023
This commit updates the parsing of the old CLI to understand new subcommands to ensure that `wasmtime serve foo.wasm` isn't mistakenly interpreted in the old CLI as executing the module `serve` with the argument `foo.wasm`. Closes #7396
github-merge-queue bot
pushed a commit
that referenced
this issue
Oct 30, 2023
This commit updates the parsing of the old CLI to understand new subcommands to ensure that `wasmtime serve foo.wasm` isn't mistakenly interpreted in the old CLI as executing the module `serve` with the argument `foo.wasm`. Closes #7396
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
it looks like
wasmtime serve
was broken by #7395, and only works when settingWASMTIME_NEW_CLI=1
. Otherwise, the CLI tries to load a file calledserve
.To reproduce, it's not even required to create a test wasm file, just running
wasmtime serve whatever
should be enough.CC @alexcrichton
The text was updated successfully, but these errors were encountered: