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:
2
cranelift/codegen/shared/README.md
Normal file
2
cranelift/codegen/shared/README.md
Normal file
@@ -0,0 +1,2 @@
|
||||
This crate contains shared definitions for use in both `cranelift-codegen-meta` and `cranelift
|
||||
-codegen`.
|
||||
Reference in New Issue
Block a user