Remove target from CompilerConfig

This commit is contained in:
Syrus
2020-06-17 20:26:50 -07:00
parent e062e87d8b
commit 8649f2eb79
17 changed files with 118 additions and 138 deletions

View File

@@ -54,7 +54,7 @@ impl Default for Store {
fn get_engine(
config: Box<dyn CompilerConfig + Send + Sync>,
) -> Arc<dyn Engine + Send + Sync> {
let tunables = Tunables::for_target(config.target().triple());
let tunables = Tunables::default();
#[cfg(feature = "jit")]
return Arc::new(wasmer_engine_jit::JITEngine::new(