Update Wasmer, log load times, some minor performance tweaks
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -7,8 +7,8 @@ use hashbrown::{HashMap, HashSet};
|
||||
use parking_lot::lock_api::RwLockReadGuard;
|
||||
use parking_lot::{RawRwLock, RwLock};
|
||||
use wasmer::{
|
||||
AsStoreMut, AsStoreRef, Cranelift, EngineBuilder, Extern, Features, Function, FunctionEnv, Imports, Instance,
|
||||
Memory, Module, Store, StoreMut, StoreRef, TypedFunction, Value,
|
||||
AsStoreMut, AsStoreRef, EngineBuilder, Extern, Features, Function, FunctionEnv, Imports, Instance, Memory, Module,
|
||||
Store, StoreMut, StoreRef, TypedFunction, Value,
|
||||
};
|
||||
|
||||
use crate::dynamic_data::{ItemScript, Script, ScriptOwnerData, ScriptResolver};
|
||||
@@ -52,7 +52,7 @@ struct ScriptCapabilitiesKey {
|
||||
impl WebAssemblyScriptResolver {
|
||||
/// Instantiates a new WebAssemblyScriptResolver.
|
||||
pub fn new() -> Box<WebAssemblyScriptResolver> {
|
||||
let compiler = Cranelift::default();
|
||||
let compiler = wasmer::LLVM::default();
|
||||
let mut features = Features::new();
|
||||
features.multi_value = true;
|
||||
features.reference_types = true;
|
||||
|
||||
Reference in New Issue
Block a user