diff options
| author | Mica White <botahamec@outlook.com> | 2026-09-09 09:47:15 -0400 |
|---|---|---|
| committer | Mica White <botahamec@outlook.com> | 2026-09-09 09:47:15 -0400 |
| commit | 2cebe160fd72a08485f5709788d0e5c8f275d17a (patch) | |
| tree | 5bd9721fcb7525cbf44e307c37ba27d66a56fdd0 /crates/cli/src/value_parse.rs | |
| parent | 5ab4339c98179958b11b716b5887ecd3224666e2 (diff) | |
| parent | b6a6cefd5bd8e2e488b03024c18de3cd576d3046 (diff) | |
Merge
Diffstat (limited to 'crates/cli/src/value_parse.rs')
| -rw-r--r-- | crates/cli/src/value_parse.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/cli/src/value_parse.rs b/crates/cli/src/value_parse.rs index 92c0363..eabbdc4 100644 --- a/crates/cli/src/value_parse.rs +++ b/crates/cli/src/value_parse.rs @@ -21,7 +21,7 @@ fn parse_arg(index: usize, ty: WasmType, value: &str) -> Result<WasmValue> { .parse::<i128>() .map(|v| WasmValue::V128(v.to_le_bytes())) .map_err(|e| format_error(index, ty, value, e))?, - WasmType::RefFunc | WasmType::RefExtern => { + WasmType::Ref(_) => { bail!( "unsupported CLI argument type at position {}: {}; use the embedding API for reference values", index + 1, |
