Skip to content

Commit

Permalink
Merge pull request #1363 from bjorn3/update_cranelift
Browse files Browse the repository at this point in the history
Update to Cranelift 0.94
  • Loading branch information
bjorn3 committed Mar 21, 2023
2 parents a040947 + b15fd79 commit 74e8659
Show file tree
Hide file tree
Showing 3 changed files with 76 additions and 85 deletions.
143 changes: 67 additions & 76 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ crate-type = ["dylib"]

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

indexmap = "1.9.1"
libloading = { version = "0.7.3", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion src/base.rs
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ pub(crate) fn compile_fn(
&clif_comments,
);

if let Some(disasm) = &context.compiled_code().unwrap().disasm {
if let Some(disasm) = &context.compiled_code().unwrap().vcode {
crate::pretty_clif::write_ir_file(
&cx.output_filenames,
&format!("{}.vcode", codegened_func.symbol_name),
Expand Down

0 comments on commit 74e8659

Please sign in to comment.