Rename the isle crate to cranelift-isle
The `isle` crate name is already taken on crates.io :(
This commit is contained in:
@@ -35,7 +35,7 @@ criterion = "0.3"
|
||||
|
||||
[build-dependencies]
|
||||
cranelift-codegen-meta = { path = "meta", version = "0.78.0" }
|
||||
isle = { path = "../isle/isle", version = "=0.78.0", optional = true }
|
||||
cranelift-isle = { path = "../isle/isle", version = "=0.78.0", optional = true }
|
||||
miette = { version = "3", features = ["fancy"], optional = true }
|
||||
sha2 = "0.9.8"
|
||||
|
||||
@@ -91,7 +91,7 @@ regalloc-snapshot = ["bincode", "regalloc/enable-serde"]
|
||||
souper-harvest = ["souper-ir", "souper-ir/stringify"]
|
||||
|
||||
# Recompile ISLE DSL source files into their generated Rust code.
|
||||
rebuild-isle = ["isle", "miette", "cranelift-codegen-meta/rebuild-isle"]
|
||||
rebuild-isle = ["cranelift-isle", "miette", "cranelift-codegen-meta/rebuild-isle"]
|
||||
|
||||
# A hack to skip the ISLE-rebuild logic when testing for determinism
|
||||
# with the "Meta deterministic check" CI job.
|
||||
|
||||
@@ -369,6 +369,8 @@ fn rebuild_isle(
|
||||
compilation: &IsleCompilation,
|
||||
manifest: &str,
|
||||
) -> Result<(), Box<dyn std::error::Error + 'static>> {
|
||||
use cranelift_isle as isle;
|
||||
|
||||
// First, remove the manifest, if any; we will recreate it
|
||||
// below if the compilation is successful. Ignore error if no
|
||||
// manifest was present.
|
||||
|
||||
Reference in New Issue
Block a user