Lines Matching refs:engine

6     let engine = Engine::default();  in async_store()  localVariable
7 let mut store = Store::new(&engine, ()); in async_store()
36 let engine = Engine::default(); in async_limiter_store() localVariable
37 let mut store = Store::new(&engine, MyAsyncLimiter); in async_limiter_store()
43 let module = Module::new(store.engine(), "(module)").unwrap(); in assert_requires_async()
49 let engine = Engine::default(); in require_async_after_func_wrap() localVariable
50 let mut store = Store::new(&engine, ()); in require_async_after_func_wrap()
57 let engine = Engine::default(); in require_async_after_func_new() localVariable
58 let mut store = Store::new(&engine, ()); in require_async_after_func_new()
59 let ty = FuncType::new(store.engine(), [], []); in require_async_after_func_new()
66 let engine = Engine::default(); in require_async_after_linker_with_func_wrap() localVariable
67 let mut store = Store::new(&engine, ()); in require_async_after_linker_with_func_wrap()
68 let mut linker = Linker::new(store.engine()); in require_async_after_linker_with_func_wrap()
70 let module = Module::new(store.engine(), r#"(module (import "" "" (func)))"#)?; in require_async_after_linker_with_func_wrap()
78 let engine = Engine::default(); in require_async_after_linker_with_func_new() localVariable
79 let mut store = Store::new(&engine, ()); in require_async_after_linker_with_func_new()
80 let mut linker = Linker::new(store.engine()); in require_async_after_linker_with_func_new()
81 let ty = FuncType::new(store.engine(), [], []); in require_async_after_linker_with_func_new()
83 let module = Module::new(store.engine(), r#"(module (import "" "" (func)))"#)?; in require_async_after_linker_with_func_new()
93 let engine = Engine::new(&config)?; in require_async_after_epochs() localVariable
94 let mut store = Store::new(&engine, ()); in require_async_after_epochs()
104 let engine = Engine::new(&config)?; in require_async_after_fuel() localVariable
105 let mut store = Store::new(&engine, ()); in require_async_after_fuel()
120 let engine = Engine::default(); in require_async_with_linker_func_wrap() localVariable
121 let mut store = Store::new(&engine, ()); in require_async_with_linker_func_wrap()
122 let mut linker = Linker::new(store.engine()); in require_async_with_linker_func_wrap()
124 let module = Module::new(store.engine(), r#"(module (import "" "" (func)))"#)?; in require_async_with_linker_func_wrap()
134 let engine = Engine::new(&config)?; in require_async_with_debug_handler() localVariable
135 let mut store = Store::new(&engine, ()); in require_async_with_debug_handler()
161 let engine = Engine::default(); in require_async_with_async_call_hook() localVariable
162 let mut store = Store::new(&engine, ()); in require_async_with_async_call_hook()
171 let module = Module::new(store.engine(), "(module)")?; in async_disallows_instance_new()
180 let module = Module::new(store.engine(), "(module)")?; in async_disallows_linker_instantiate()
181 let linker = Linker::new(store.engine()); in async_disallows_linker_instantiate()
218 store.engine(), in async_disallows_array_ref_new()
231 store.engine(), in async_disallows_array_ref_new_fixed()
243 let ty = ExnType::new(store.engine(), [])?; in async_disallows_exnref_new()
245 let fty = FuncType::new(store.engine(), [], []); in async_disallows_exnref_new()
264 store.engine(), in async_disallows_structref_new()
277 let engine = Engine::new(&config)?; in epoch_yield_disallowed_without_async() localVariable
278 let mut store = Store::new(&engine, ()); in epoch_yield_disallowed_without_async()
280 let module = Module::new(&engine, r#"(module (func (export "") (loop br 0)))"#)?; in epoch_yield_disallowed_without_async()
300 let engine = Engine::new(&config)?; in start_sync_then_configure_async_then_do_async() localVariable
301 let mut store = Store::new(&engine, MyAsyncLimiter); in start_sync_then_configure_async_then_do_async()
304 &engine, in start_sync_then_configure_async_then_do_async()
317 let mut linker = Linker::new(&engine); in start_sync_then_configure_async_then_do_async()