tpmccallum opened PR #10533 from tpmccallum:tpm/invoke_wave_changes to bytecodealliance:pch/invoke_wave:
This PR contains proposed updates to https://github.com/bytecodealliance/wasmtime/pull/10054
tpmccallum requested alexcrichton for a review on PR #10533.
tpmccallum requested wasmtime-core-reviewers for a review on PR #10533.
tpmccallum requested wasmtime-default-reviewers for a review on PR #10533.
tpmccallum updated PR #10533.
tpmccallum edited PR #10533:
This PR contains proposed updates to https://github.com/bytecodealliance/wasmtime/pull/10054
An erroneous invocation (i.e. missing parentheses) will produce the following message:
$ wasmtime run --invoke 'get-answer' target/wasm32-wasip1/debug/wasm_answer.wasm Error: failed to run main module `target/wasm32-wasip1/debug/wasm_answer.wasm` Caused by: 0: Failed to parse invoke '"get-answer"': function calls must include parentheses and must be enveloped in single quotes. For example, 'get-answer()'. String arguments must use double quotes 'get-answer("hello")', and commas must separate multiple arguments. For example, 'get-answer("Pi", 3.14)'. 1: unexpected end of input at 10..10
alexcrichton requested pchickey for a review on PR #10533.
pchickey merged PR #10533.
Last updated: Dec 06 2025 at 07:03 UTC