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`.
24 lines
765 B
TOML
24 lines
765 B
TOML
[package]
|
|
name = "cranelift-codegen-meta"
|
|
authors = ["The Cranelift Project Developers"]
|
|
version = "0.43.1"
|
|
description = "Metaprogram for cranelift-codegen code generator library"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
repository = "https://github.com/CraneStation/cranelift"
|
|
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]
|
|
maintenance = { status = "experimental" }
|
|
travis-ci = { repository = "CraneStation/cranelift" }
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = ["cranelift-entity/std"]
|
|
# The "core" feature enables a workaround for Cargo #4866.
|
|
core = ["cranelift-entity/core"]
|