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:
Andrew Brown
2019-09-23 11:04:50 -07:00
parent a3db30d97e
commit c648fa3d06
9 changed files with 264 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ readme = "README.md"
edition = "2018"
[dependencies]
cranelift-codegen-shared = { path = "../shared", version = "0.43.1" }
cranelift-entity = { path = "../../cranelift-entity", version = "0.43.1", default-features = false }
[badges]