cranelift-codegen: Remove all default architecture support
This commit is contained in:
committed by
Benjamin Bouvier
parent
13f83d8291
commit
d93673508c
@@ -44,7 +44,7 @@ file-per-thread-logger = "0.1.2"
|
||||
indicatif = "0.11.0"
|
||||
|
||||
[features]
|
||||
default = ["disas", "wasm"]
|
||||
default = ["disas", "wasm", "cranelift-codegen/all-arch"]
|
||||
disas = ["capstone"]
|
||||
wasm = ["wabt", "cranelift-wasm"]
|
||||
basic-blocks = ["cranelift-codegen/basic-blocks", "cranelift-frontend/basic-blocks", "cranelift-wasm/basic-blocks"]
|
||||
|
||||
@@ -30,7 +30,7 @@ serde = { version = "1.0.94", features = ["derive"], optional = true }
|
||||
cranelift-codegen-meta = { path = "meta", version = "0.40.0", default-features = false }
|
||||
|
||||
[features]
|
||||
default = ["std", "x86", "arm32", "arm64", "riscv"]
|
||||
default = ["std"]
|
||||
|
||||
# The "std" feature enables use of libstd. The "core" feature enables use
|
||||
# of some minimal std-like replacement libraries. At least one of these two
|
||||
@@ -54,11 +54,20 @@ core = [
|
||||
testing_hooks = []
|
||||
|
||||
# ISA targets for which we should build.
|
||||
# If no ISA targets are explicitly enabled, the ISA target for the host machine is enabled.
|
||||
x86 = []
|
||||
arm32 = []
|
||||
arm64 = []
|
||||
riscv = []
|
||||
|
||||
# Option to enable all architectures.
|
||||
all-arch = [
|
||||
"x86",
|
||||
"arm32",
|
||||
"arm64",
|
||||
"riscv"
|
||||
]
|
||||
|
||||
# For dependent crates that want to serialize some parts of cranelift
|
||||
enable-serde = ["serde"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user