Skip to content

Commit 79b1cd5

Browse files
committed
make compatible to transopt-benchmark versions
1 parent b798116 commit 79b1cd5

3 files changed

Lines changed: 31 additions & 67 deletions

File tree

Cargo.lock

Lines changed: 18 additions & 54 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@ crate-type = ["dylib"]
88

99
[dependencies]
1010
# These have to be in sync with each other
11-
cranelift-codegen = { version = "0.132.0", default-features = false, features = ["std", "timing", "unwind", "all-native-arch"] }
12-
cranelift-frontend = { version = "0.132.0" }
13-
cranelift-module = { version = "0.132.0" }
14-
cranelift-native = { version = "0.132.0" }
15-
cranelift-jit = { version = "0.132.0", optional = true }
16-
cranelift-object = { version = "0.132.0" }
11+
# cranelift-codegen = { version = "0.132.0", default-features = false, features = ["std", "timing", "unwind", "all-native-arch"] }
12+
# cranelift-frontend = { version = "0.132.0" }
13+
# cranelift-module = { version = "0.132.0" }
14+
# cranelift-native = { version = "0.132.0" }
15+
# cranelift-jit = { version = "0.132.0", optional = true }
16+
# cranelift-object = { version = "0.132.0" }
1717
target-lexicon = "0.13"
1818
gimli = { version = "0.33", default-features = false, features = ["write"] }
1919
object = { version = "0.39.1", default-features = false, features = ["std", "read_core", "write", "archive", "coff", "elf", "macho", "pe"] }
@@ -32,12 +32,12 @@ smallvec = "1.8.1"
3232
#cranelift-object = { git = "https://github.com/bytecodealliance/wasmtime.git", branch = "release-45.0.0" }
3333

3434
# Uncomment to use local checkout of cranelift
35-
#cranelift-codegen = { path = "../wasmtime/cranelift/codegen" }
36-
#cranelift-frontend = { path = "../wasmtime/cranelift/frontend" }
37-
#cranelift-module = { path = "../wasmtime/cranelift/module" }
38-
#cranelift-native = { path = "../wasmtime/cranelift/native" }
39-
#cranelift-jit = { path = "../wasmtime/cranelift/jit" }
40-
#cranelift-object = { path = "../wasmtime/cranelift/object" }
35+
cranelift-codegen = { path = "../wasmtime/cranelift/codegen", default-features = false, features = ["std", "timing", "unwind", "all-native-arch"] }
36+
cranelift-frontend = { path = "../wasmtime/cranelift/frontend" }
37+
cranelift-module = { path = "../wasmtime/cranelift/module" }
38+
cranelift-native = { path = "../wasmtime/cranelift/native" }
39+
cranelift-jit = { path = "../wasmtime/cranelift/jit", optional = true }
40+
cranelift-object = { path = "../wasmtime/cranelift/object" }
4141

4242
#gimli = { path = "../" }
4343

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ mod prelude {
8686
pub(crate) use cranelift_codegen::ir::condcodes::{FloatCC, IntCC};
8787
pub(crate) use cranelift_codegen::ir::function::Function;
8888
pub(crate) use cranelift_codegen::ir::{
89-
AbiParam, Block, FuncRef, Inst, InstBuilder, MemFlags, Signature, SourceLoc, StackSlot,
89+
AbiParam, Block, FuncRef, Inst, InstBuilder, MemFlagsData as MemFlags, Signature, SourceLoc, StackSlot,
9090
StackSlotData, StackSlotKind, TrapCode, Type, Value, types,
9191
};
9292
pub(crate) use cranelift_module::{self, DataDescription, FuncId, Linkage, Module};

0 commit comments

Comments
 (0)