Stream: git-wasmtime

Topic: wasmtime / issue #7382 Command Order Issue: Lack of Outpu...


view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2023 at 15:35):

XinyuShe added the bug label to Issue #7382.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2023 at 15:35):

XinyuShe opened issue #7382:

Steps to Reproduce

  1. Execute the following command: wasmtime a-test.wasm --invoke main
  2. Observe the lack of output.

Expected Results

I expect the command wasmtime a-test.wasm --invoke main to execute the WebAssembly file and produce the correct output.

Actual Results

The command wasmtime a-test.wasm --invoke main does not produce any output, while wasmtime a-test.wasm --invoke main does.

Versions and Environment

Extra Info

Explain that you noticed a difference in behavior when changing the order of the arguments. Mention that the issue is specific to the command order and that wasmtime --invoke main a-test.wasm works as expected.
![E}POCVS_S4L%E_0NN0L0MOO](https://github.com/bytecodealliance/wasmtime/assets/60457190/3c578187-5972-467b-ba26-df23d082d076)

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2023 at 16:15):

bjorn3 commented on issue #7382:

If the --invoke is after a-test.wat, it will be passed as argument to the wasm module rather than interpreted by Wasmtime.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2023 at 17:08):

tschneidereit commented on issue #7382:

We're working on a fix for this. See here for details.

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2023 at 21:09):

alexcrichton commented on issue #7382:

As mentioned by @bjorn3 this is an intended change in Wasmtime 14 relative to prior verisons. More information about this is available at https://github.com/bytecodealliance/wasmtime/issues/7384 and that is going to track further developments here so I'm going to close this in favor of that. Thanks for the report though!

view this post on Zulip Wasmtime GitHub notifications bot (Oct 26 2023 at 21:09):

alexcrichton closed issue #7382:

Steps to Reproduce

  1. Execute the following command: wasmtime a-test.wasm --invoke main
  2. Observe the lack of output.

Expected Results

I expect the command wasmtime a-test.wasm --invoke main to execute the WebAssembly file and produce the correct output.

Actual Results

The command wasmtime a-test.wasm --invoke main does not produce any output, while wasmtime a-test.wasm --invoke main does.

Versions and Environment

Extra Info

Explain that you noticed a difference in behavior when changing the order of the arguments. Mention that the issue is specific to the command order and that wasmtime --invoke main a-test.wasm works as expected.
![E}POCVS_S4L%E_0NN0L0MOO](https://github.com/bytecodealliance/wasmtime/assets/60457190/3c578187-5972-467b-ba26-df23d082d076)


Last updated: Nov 22 2024 at 17:03 UTC