Created stand-alone wasmer-compiler, builded only as a .wasm target for now

Removed leftover trace of compiler feature in compiler-cli
Excluded the new wasmer-compiler-cli from lint test, like wasmer-cli it's based on
This commit is contained in:
ptitSeb
2022-04-21 16:35:20 +02:00
parent d8a7d9f987
commit 8010cb88e7
19 changed files with 1262 additions and 2 deletions

View File

@@ -14,7 +14,6 @@ edition = "2018"
[dependencies]
wasmer-compiler = { path = "../compiler", version = "=2.2.1", features = ["translator"], default-features = false }
wasmer-types = { path = "../types", version = "=2.2.1", default-features = false, features = ["std"] }
rayon = { version = "1.5", optional = true }
hashbrown = { version = "0.11", optional = true }
gimli = { version = "0.26", optional = true }
more-asserts = "0.2"
@@ -25,6 +24,9 @@ byteorder = "1.3"
smallvec = "1.6"
loupe = "0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rayon = { version = "1.5", optional = true }
[dev-dependencies]
target-lexicon = { version = "0.12.2", default-features = false }
@@ -33,6 +35,7 @@ maintenance = { status = "actively-developed" }
[features]
default = ["std", "rayon", "unwind", "avx"]
wasm = ["std", "avx"]
std = ["wasmer-compiler/std", "wasmer-types/std"]
core = ["hashbrown", "wasmer-types/core"]
unwind = ["gimli"]