Searched refs:func2 (Results 1 – 6 of 6) sorted by relevance
| /wasmtime-44.0.1/tests/all/ |
| H A D | exceptions.rs | 90 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 D | async_functions.rs | 156 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 D | traps.rs | 405 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 D | resources-import.wit | 61 export some-world-func2: func() -> world-resource;
|
| /wasmtime-44.0.1/tests/misc_testsuite/component-model/ |
| H A D | fixed_length_lists.wast | 240 (export $"#func2 run" (@name "run") (;2;) "run" (func $run))
|
| /wasmtime-44.0.1/tests/all/component_model/ |
| H A D | dynamic.rs | 185 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()
|