Skip to content

Commit

Permalink
ci: make assembler crates publishable
Browse files Browse the repository at this point in the history
In order to satisfy `ci/publish.rs`, it would appear that we need to use
a version that matches the rest of the Cranelift crates.
  • Loading branch information
abrown committed Jan 25, 2025
1 parent 1081bda commit 574176f
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion cranelift/assembler-x64/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cranelift-assembler-x64"
description = "A Cranelift-specific x64 assembler"
version = "0.1.0"
version = "0.117.0"
license = "Apache-2.0 WITH LLVM-exception"
edition.workspace = true

Expand Down
2 changes: 1 addition & 1 deletion cranelift/assembler-x64/meta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "cranelift-assembler-x64-meta"
description = "Generate a Cranelift-specific assembler for x64 instructions"
version = "0.1.0"
version = "0.117.0"
license = "Apache-2.0 WITH LLVM-exception"
edition.workspace = true

Expand Down
2 changes: 1 addition & 1 deletion cranelift/codegen/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ arbitrary = { version = "1.3.2", features = ["derive"] }
anyhow = { workspace = true, optional = true, features = ['std'] }
bumpalo = "3"
capstone = { workspace = true, optional = true }
cranelift-assembler-x64 = { path = "../assembler-x64", version = "0.1.0" }
cranelift-assembler-x64 = { path = "../assembler-x64", version = "0.117.0" }
cranelift-codegen-shared = { path = "./shared", version = "0.117.0" }
cranelift-entity = { workspace = true }
cranelift-bforest = { workspace = true }
Expand Down
2 changes: 1 addition & 1 deletion cranelift/codegen/meta/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ workspace = true
rustdoc-args = ["--document-private-items"]

[dependencies]
cranelift-assembler-x64 = { path = "../../assembler-x64", version = "0.1.0" }
cranelift-assembler-x64 = { path = "../../assembler-x64", version = "0.117.0" }
cranelift-codegen-shared = { path = "../shared", version = "0.117.0" }
pulley-interpreter = { workspace = true, optional = true }

Expand Down
2 changes: 2 additions & 0 deletions scripts/publish.rs
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ const PUBLIC_CRATES: &[&str] = &[
"wasmtime-cli",
// all cranelift crates are considered "public" in that they can't
// have breaking API changes in patch releases
"cranelift-assembler-x64-meta",
"cranelift-assembler-x64",
"cranelift-entity",
"cranelift-bforest",
"cranelift-bitset",
Expand Down

0 comments on commit 574176f

Please sign in to comment.