Move condcodes.rs to a new crate, cranelift-codegen-shared
This move allows the `IntCC`/`FloatCC` enums to be used in both meta (for predicate matching) and in codegen. To avoid breaking any code dependent on the previous location of condcodes.rs (`cranelift-codegen/src/condcodes.rs`), the module is re-exported under `cranelift_codegen::ir`.
This commit is contained in:
@@ -13,6 +13,7 @@ build = "build.rs"
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
cranelift-codegen-shared = { path = "./shared", version = "0.43.1" }
|
||||
cranelift-entity = { path = "../cranelift-entity", version = "0.43.1", default-features = false }
|
||||
cranelift-bforest = { path = "../cranelift-bforest", version = "0.43.1", default-features = false }
|
||||
failure = { version = "0.1.1", default-features = false, features = ["derive"] }
|
||||
|
||||
Reference in New Issue
Block a user