Set compiler config to be owned (following wasm-c-api)

This commit is contained in:
Syrus
2020-12-04 02:39:19 -08:00
parent 7a4ad45c9d
commit 13e6f29c29
48 changed files with 87 additions and 95 deletions

View File

@@ -33,7 +33,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
let compiler = Singlepass::default();
// Create the store
let store = Store::new(&JIT::new(&compiler).engine());
let store = Store::new(&JIT::new(compiler).engine());
println!("Compiling module...");
// Let's compile the Wasm module.