mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-07 05:08:19 +00:00
Move Webassembly objects to Store and remove Context
Co-authored-by: ptitSeb <sebastien.chev@gmail.com> Co-authored-by: Manos Pitsidianakis <manos@wasmer.io>
This commit is contained in:
committed by
Manos Pitsidianakis
parent
b5ae6399ce
commit
a419ccdf52
@@ -42,7 +42,7 @@ fuzz_target!(|module: WasmSmithModule| {
|
||||
let mut compiler = LLVM::default();
|
||||
compiler.canonicalize_nans(true);
|
||||
compiler.enable_verifier();
|
||||
let store = Store::new_with_engine(&Universal::new(compiler).engine());
|
||||
let mut store = Store::new_with_engine(&Universal::new(compiler).engine());
|
||||
let module = Module::new(&store, &wasm_bytes).unwrap();
|
||||
match Instance::new(&module, &imports! {}) {
|
||||
Ok(_) => {}
|
||||
|
||||
Reference in New Issue
Block a user