Home
last modified time | relevance | path

Searched refs:func2 (Results 1 – 6 of 6) sorted by relevance

/wasmtime-44.0.1/tests/all/
H A Dexceptions.rs90 let func2 = instance2.get_func(&mut store, "catch").unwrap(); in dynamic_tags() localVariable
92 func2.call(&mut store, &[Val::I32(1), Val::I64(2)], &mut results[..])?; in dynamic_tags()
H A Dasync_functions.rs156 let func2 = Func::new_async(&mut store, func_ty, move |mut caller, _params, _results| { in recursive_call() localVariable
181 let instance = Instance::new_async(&mut store, &module, &[func2.into()]) in recursive_call()
H A Dtraps.rs405 let func2 = Func::wrap(&mut store, || -> () { panic!("this is another panic") }); in rust_panic_import() localVariable
406 let instance = Instance::new(&mut store, &module, &[func.into(), func2.into()])?; in rust_panic_import()
/wasmtime-44.0.1/crates/component-macro/tests/codegen/
H A Dresources-import.wit61 export some-world-func2: func() -> world-resource;
/wasmtime-44.0.1/tests/misc_testsuite/component-model/
H A Dfixed_length_lists.wast240 (export $"#func2 run" (@name "run") (;2;) "run" (func $run))
/wasmtime-44.0.1/tests/all/component_model/
H A Ddynamic.rs185 let func2 = instance2.get_func(&mut store2, "echo").unwrap(); in maps() localVariable
189 let err = func2.call(&mut store2, &[err], &mut output).unwrap_err(); in maps()