Stream: git-wasmtime

Topic: wasmtime / PR #10533 Convert docs and error trapping to s...


view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2025 at 07:26):

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

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2025 at 07:26):

tpmccallum requested alexcrichton for a review on PR #10533.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2025 at 07:26):

tpmccallum requested wasmtime-core-reviewers for a review on PR #10533.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2025 at 07:26):

tpmccallum requested wasmtime-default-reviewers for a review on PR #10533.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2025 at 11:00):

tpmccallum updated PR #10533.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2025 at 11:03):

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

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2025 at 14:45):

alexcrichton requested pchickey for a review on PR #10533.

view this post on Zulip Wasmtime GitHub notifications bot (Apr 07 2025 at 16:41):

pchickey merged PR #10533.


Last updated: Dec 06 2025 at 07:03 UTC