Remove wasmer_engine_universal{,_artifact} and merge into wasmer_compiler

This commit is contained in:
Manos Pitsidianakis
2022-06-13 23:59:43 +03:00
parent 9ebe1c2e3a
commit 086205bfcc
74 changed files with 171 additions and 370 deletions

View File

@ -28,7 +28,6 @@ wasmer-compiler-singlepass = { version = "=2.3.0", path = "../compiler-singlepas
wasmer-compiler-llvm = { version = "=2.3.0", path = "../compiler-llvm", optional = true }
wasmer-emscripten = { version = "=2.3.0", path = "../emscripten", optional = true }
wasmer-compiler = { version = "=2.3.0", path = "../compiler" }
wasmer-engine-universal = { version = "=2.3.0", path = "../engine-universal", optional = true }
wasmer-middlewares = { version = "=2.3.0", path = "../middlewares", optional = true }
wasmer-wasi = { version = "=2.3.0", path = "../wasi", default-features = false, features = ["host-fs", "sys"], optional = true }
wasmer-types = { version = "=2.3.0", path = "../types" }
@ -60,11 +59,11 @@ middlewares = [
"wasmer-middlewares",
]
universal = [
"wasmer-engine-universal",
"wasmer-compiler/universal_engine",
"compiler",
]
compiler = [
"wasmer-api/compiler",
"wasmer-engine-universal/compiler",
]
singlepass = [
"wasmer-compiler-singlepass",

View File

@ -14,7 +14,7 @@ use cfg_if::cfg_if;
use std::sync::Arc;
use wasmer_api::Engine;
#[cfg(feature = "universal")]
use wasmer_engine_universal::Universal;
use wasmer_compiler::Universal;
/// Kind of compilers that can be used by the engines.
///