[package]
name = "cranelift-native"
version = "0.14.0"
authors = ["The Cranelift Project Developers"]
description = "Support for targeting the host with Cranelift"
repository = "https://github.com/CraneStation/cranelift"
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md"

[dependencies]
cranelift-codegen = { path = "../codegen", version = "0.14.0", default-features = false }
target-lexicon = { version = "0.0.2", default-features = false }

[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
raw-cpuid = "3.1.0"

[features]
default = ["std"]
std = ["cranelift-codegen/std", "target-lexicon/std"]
# when compiling with the "core" feature, nightly must be enabled
# enabling the "nightly" feature for raw-cpuid allows avoiding
# linking in a c-library.
core = ["cranelift-codegen/core", "raw-cpuid/nightly"]

[badges]
maintenance = { status = "experimental" }
travis-ci = { repository = "CraneStation/cranelift" }

[package]
name = "cranelift-native"
version = "0.14.0"
authors = ["The Cranelift Project Developers"]
description = "Support for targeting the host with Cranelift"
repository = "https://github.com/CraneStation/cranelift"
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md"

[dependencies]
cranelift-codegen = { path = "../codegen", version = "0.14.0", default-features = false }
target-lexicon = { version = "0.0.2", default-features = false }

[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
# Due to https://github.com/gz/rust-cpuid/issues/27, stay at 3.x for now.
raw-cpuid = "3.1.0"

[features]
default = ["std"]
std = ["cranelift-codegen/std", "target-lexicon/std"]
# when compiling with the "core" feature, nightly must be enabled
# enabling the "nightly" feature for raw-cpuid allows avoiding
# linking in a c-library.
core = ["cranelift-codegen/core", "raw-cpuid/nightly"]

[badges]
maintenance = { status = "experimental" }
travis-ci = { repository = "CraneStation/cranelift" }

Add a comment mentioning why we're remaining at cpuid 3.x for now.
Add a comment mentioning why we're remaining at cpuid 3.x for now.
