MCPcopy Index your code
hub / github.com/explodingcamera/tinywasm / convert_wastargs

Function convert_wastargs

crates/cli/src/wast_runner.rs:717–719  ·  view source on GitHub ↗
(args: Vec<wast::WastArg>)

Source from the content-addressed store, hash-verified

715}
716
717fn convert_wastargs(args: Vec<wast::WastArg>) -> Result<Vec<WasmValue>> {
718 args.into_iter().map(wastarg2tinywasmvalue).collect()
719}
720
721fn convert_wastret<'a>(args: impl Iterator<Item = wast::WastRet<'a>>) -> Result<Vec<Vec<WasmValue>>> {
722 let mut alternatives = vec![Vec::new()];

Callers 1

run_fileMethod · 0.85

Calls 1

mapMethod · 0.80

Tested by

no test coverage detected