mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-12 05:18:43 +00:00
Set compiler config to be owned (following wasm-c-api)
This commit is contained in:
@@ -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);
|
||||
```"#
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user