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

@@ -115,7 +115,7 @@ If you wish to use more than one compiler, you can simply create the own store.
```
use wasmer::{Store, JIT, Singlepass};
let engine = JIT::new(&Singlepass::default()).engine();
let engine = JIT::new(Singlepass::default()).engine();
let store = Store::new(&engine);
```"#
);