Make miette optional in cranelift-codegen, as it's only used when rebuilding isle
This commit is contained in:
@@ -36,7 +36,7 @@ criterion = "0.3"
|
|||||||
[build-dependencies]
|
[build-dependencies]
|
||||||
cranelift-codegen-meta = { path = "meta", version = "0.78.0" }
|
cranelift-codegen-meta = { path = "meta", version = "0.78.0" }
|
||||||
isle = { path = "../isle/isle", version = "0.78.0", optional = true }
|
isle = { path = "../isle/isle", version = "0.78.0", optional = true }
|
||||||
miette = { version = "3", features = ["fancy"] }
|
miette = { version = "3", features = ["fancy"], optional = true }
|
||||||
sha2 = "0.9.8"
|
sha2 = "0.9.8"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
@@ -91,7 +91,7 @@ regalloc-snapshot = ["bincode", "regalloc/enable-serde"]
|
|||||||
souper-harvest = ["souper-ir", "souper-ir/stringify"]
|
souper-harvest = ["souper-ir", "souper-ir/stringify"]
|
||||||
|
|
||||||
# Recompile ISLE DSL source files into their generated Rust code.
|
# Recompile ISLE DSL source files into their generated Rust code.
|
||||||
rebuild-isle = ["isle", "cranelift-codegen-meta/rebuild-isle"]
|
rebuild-isle = ["isle", "miette", "cranelift-codegen-meta/rebuild-isle"]
|
||||||
|
|
||||||
# A hack to skip the ISLE-rebuild logic when testing for determinism
|
# A hack to skip the ISLE-rebuild logic when testing for determinism
|
||||||
# with the "Meta deterministic check" CI job.
|
# with the "Meta deterministic check" CI job.
|
||||||
|
|||||||
Reference in New Issue
Block a user