Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 977e884

Browse files
committed
Use crates.io releases of Cranelift
I originally switched the Cranelift dependencies to use git as cg_clif required a lot of new Cranelift features. With crates.io dependencies I would have to wait for a new release every time. With git dependencies I could start using the new features as soon as they were merged. Currently there aren't a lot of new Cranelift features necessary anymore and those that are useful are no longer blocking compilation of lots of crates. There was some concern expressed about using git dependencies in the main rust repo, so all together I think it is best to switch to crates.io releases and if necessary wait a bit before merging changes requiring newer Cranelift commits.
1 parent 7ee7841 commit 977e884

File tree

2 files changed

+36
-26
lines changed

2 files changed

+36
-26
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 6 additions & 6 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 = { git = "https://github.com/bytecodealliance/wasmtime.git", features = ["unwind", "all-arch"] }
12-
cranelift-frontend = { git = "https://github.com/bytecodealliance/wasmtime.git" }
13-
cranelift-module = { git = "https://github.com/bytecodealliance/wasmtime.git" }
14-
cranelift-native = { git = "https://github.com/bytecodealliance/wasmtime.git" }
15-
cranelift-jit = { git = "https://github.com/bytecodealliance/wasmtime.git", optional = true }
16-
cranelift-object = { git = "https://github.com/bytecodealliance/wasmtime.git" }
11+
cranelift-codegen = { version = "0.78.0", features = ["unwind", "all-arch"] }
12+
cranelift-frontend = "0.78.0"
13+
cranelift-module = "0.78.0"
14+
cranelift-native = "0.78.0"
15+
cranelift-jit = { version = "0.78.0", optional = true }
16+
cranelift-object = "0.78.0"
1717
target-lexicon = "0.12.0"
1818
gimli = { version = "0.25.0", default-features = false, features = ["write"]}
1919
object = { version = "0.27.0", default-features = false, features = ["std", "read_core", "write", "archive", "coff", "elf", "macho", "pe"] }

0 commit comments

Comments
 (0)