Skip to content

Commit

Permalink
Use old cranelift backend for now so cranelift+native tests pass
Browse files Browse the repository at this point in the history
  • Loading branch information
syrusakbary committed May 12, 2021
1 parent c7df813 commit 7c96f54
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 14 deletions.
5 changes: 0 additions & 5 deletions lib/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,6 @@ 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: 0 additions & 5 deletions lib/cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,11 +103,6 @@ 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: 1 addition & 4 deletions lib/compiler-cranelift/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ wasmer-compiler = { path = "../compiler", version = "1.0.2", features = ["transl
wasmer-vm = { path = "../vm", version = "1.0.2" }
wasmer-types = { path = "../types", version = "1.0.2", default-features = false, features = ["std"] }
cranelift-entity = { version = "0.73", default-features = false }
cranelift-codegen = { version = "0.73", default-features = false, features = ["x86", "arm64"] }
cranelift-codegen = { version = "0.73", default-features = false, features = ["x86", "arm64", "old-x86-backend"] }
cranelift-frontend = { version = "0.73", default-features = false }
tracing = "0.1"
hashbrown = { version = "0.9", optional = true }
Expand All @@ -39,6 +39,3 @@ default = ["std", "unwind"]
unwind = ["cranelift-codegen/unwind", "gimli"]
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/experimental_x64"]
1 change: 1 addition & 0 deletions tests/ignores.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ llvm::spec::skip_stack_guard_page on darwin

# TODO(https://github.com/wasmerio/wasmer/issues/1727): Traps in native engine
cranelift::spec::linking on native
cranelift::spec::bulk on native

# https://github.com/wasmerio/wasmer/issues/1722
llvm::spec::skip_stack_guard_page on native
Expand Down

0 comments on commit 7c96f54

Please sign in to comment.