Skip to content

Commit

Permalink
Added Cranelift x64 experimental feature flag
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed Dec 3, 2020
1 parent 918a696 commit 2fac435
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ cranelift = [
"wasmer-compiler-cranelift",
"compiler",
]
# Enable Cranelift experimental x64 backend
cranelift-experimental-x64 = [
"cranelift",
"wasmer-compiler-cranelift/experimental-x64",
]
llvm = [
"wasmer-compiler-llvm",
"compiler",
Expand Down
5 changes: 5 additions & 0 deletions lib/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,11 @@ cranelift = [
"wasmer-compiler-cranelift",
"compiler",
]
# Enable Cranelift experimental x64 backend
cranelift-experimental-x64 = [
"cranelift",
"wasmer-compiler-cranelift/experimental-x64",
]
llvm = [
"wasmer-compiler-llvm",
"compiler",
Expand Down
3 changes: 3 additions & 0 deletions lib/compiler-cranelift/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,6 @@ unwind = ["cranelift-codegen/unwind", "gimli"]
enable-serde = ["wasmer-compiler/enable-serde", "wasmer-types/enable-serde"]
std = ["cranelift-codegen/std", "cranelift-frontend/std", "wasmer-compiler/std", "wasmer-types/std"]
core = ["hashbrown", "cranelift-codegen/core", "cranelift-frontend/core"]

# Enable Cranelift experimental x64 backend
experimental-x64 = ["cranelift-codegen/x64"]

0 comments on commit 2fac435

Please sign in to comment.