Home
last modified time | relevance | path

Searched refs:module2 (Results 1 – 10 of 10) sorted by relevance

/wasmtime-44.0.1/tests/all/
H A Dmodule.rs115 let module2 = Module::new(&engine, wasm).unwrap(); in serialize_deterministic() localVariable
116 let b1 = module2.serialize().unwrap(); in serialize_deterministic()
117 let b2 = module2.serialize().unwrap(); in serialize_deterministic()
225 let module2 = unsafe { Module::deserialize(&engine, &bytes)? }; in missing_sse_and_floats_still_works() localVariable
231 for module in [module, module2, module3] { in missing_sse_and_floats_still_works()
H A Dasync_functions.rs722 let module2 = Module::new( in linker_module_command() localVariable
735 let instance = linker.instantiate_async(&mut store, &module2).await?; in linker_module_command()
761 let module2 = Module::new( in linker_module_reactor() localVariable
774 let instance = linker.instantiate_async(&mut store, &module2).await?; in linker_module_reactor()
857 let module2 = Module::new( in non_stacky_async_activations() localVariable
890 let module2 = module2.clone(); in non_stacky_async_activations() localVariable
912 let instance2 = linker2.instantiate_async(&mut store2, &module2).await?; in non_stacky_async_activations()
H A Dcoredump.rs99 let module2 = Module::new(store.engine(), wat2)?; in coredump_has_modules_and_instances() localVariable
100 let linking2 = linker.instantiate(&mut store, &module2)?; in coredump_has_modules_and_instances()
H A Ddebug.rs272 let module2 = Module::new( in stack_values_two_activations() localVariable
287 let module2_clone = module2.clone(); in stack_values_two_activations()
357 let instance2 = Instance::new(&mut store, &module2, &[Extern::Func(host2)])?; in stack_values_two_activations()
1249 let module2 = Module::new( in debug_ids() localVariable
1258 let instance2 = Instance::new(&mut store, &module2, &[])?; in debug_ids()
1263 module2.debug_index_in_engine() in debug_ids()
H A Dpooling_allocator.rs592 let module2 = Module::new( in switch_image_and_non_image() localVariable
612 Instance::new(&mut Store::new(&engine, ()), &module2, &[])?; in switch_image_and_non_image()
616 Instance::new(&mut Store::new(&engine, ()), &module2, &[])?; in switch_image_and_non_image()
621 let instance = Instance::new(&mut store, &module2, &[])?; in switch_image_and_non_image()
H A Dtraps.rs1799 let module2 = Module::new( in return_call_to_aborting_wasm_function_with_stack_adjustments() localVariable
1816 let instance = Instance::new(&mut store, &module2, &[])?; in return_call_to_aborting_wasm_function_with_stack_adjustments()
H A Dfunc.rs1161 let module2 = Module::new(store.engine(), "(module (func (export \"\")))")?; in trampolines_always_valid() localVariable
1173 let i = Instance::new(&mut store, &module2, &[])?; in trampolines_always_valid()
1175 drop(module2); in trampolines_always_valid()
/wasmtime-44.0.1/crates/fuzzing/src/
H A Dsingle_module_fuzzer.rs317 if let Ok((module2, known_valid)) = execute(&buf[..new_size], run2, generate) { in changing_configuration_does_not_change_module()
320 if module != module2 { in changing_configuration_does_not_change_module()
/wasmtime-44.0.1/crates/c-api/tests/
H A Dexception.cc153 Module module2 = in TEST() local
169 auto instance2 = Instance::create(cx, module2, imports2).unwrap(); in TEST()
/wasmtime-44.0.1/crates/wasmtime/tests/
H A Dcustom_signal_handler.rs327 let module2 = Module::new(&engine, WAT2)?; in test_custom_signal_handler_instance_calling_another_instance() localVariable
328 let instance2 = Instance::new(&mut store, &module2, &[instance1_read])?; in test_custom_signal_handler_instance_calling_another_instance()