Skip to content

Commit b15fd79

Browse files
committed
Update to Cranelift 0.94
1 parent a040947 commit b15fd79

File tree

3 files changed

+76
-85
lines changed

3 files changed

+76
-85
lines changed

Cargo.lock

+67-76
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@ crate-type = ["dylib"]
1515

1616
[dependencies]
1717
# These have to be in sync with each other
18-
cranelift-codegen = { version = "0.93", features = ["unwind", "all-arch"] }
19-
cranelift-frontend = { version = "0.93" }
20-
cranelift-module = { version = "0.93" }
21-
cranelift-native = { version = "0.93" }
22-
cranelift-jit = { version = "0.93", optional = true }
23-
cranelift-object = { version = "0.93" }
18+
cranelift-codegen = { version = "0.94", features = ["unwind", "all-arch"] }
19+
cranelift-frontend = { version = "0.94" }
20+
cranelift-module = { version = "0.94" }
21+
cranelift-native = { version = "0.94" }
22+
cranelift-jit = { version = "0.94", optional = true }
23+
cranelift-object = { version = "0.94" }
2424
target-lexicon = "0.12.0"
25-
gimli = { version = "0.26.0", default-features = false, features = ["write"]}
26-
object = { version = "0.29.0", default-features = false, features = ["std", "read_core", "write", "archive", "coff", "elf", "macho", "pe"] }
25+
gimli = { version = "0.27.2", default-features = false, features = ["write"]}
26+
object = { version = "0.30.3", default-features = false, features = ["std", "read_core", "write", "archive", "coff", "elf", "macho", "pe"] }
2727

2828
indexmap = "1.9.1"
2929
libloading = { version = "0.7.3", optional = true }

src/base.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ pub(crate) fn compile_fn(
206206
&clif_comments,
207207
);
208208

209-
if let Some(disasm) = &context.compiled_code().unwrap().disasm {
209+
if let Some(disasm) = &context.compiled_code().unwrap().vcode {
210210
crate::pretty_clif::write_ir_file(
211211
&cx.output_filenames,
212212
&format!("{}.vcode", codegened_func.symbol_name),

0 commit comments

Comments
 (0)