Files
wasmtime/cranelift/native/Cargo.toml
2020-06-11 17:49:56 -07:00

30 lines
933 B
TOML

[package]
name = "cranelift-native"
version = "0.65.0"
authors = ["The Cranelift Project Developers"]
description = "Support for targeting the host with Cranelift"
documentation = "https://docs.rs/cranelift-native"
repository = "https://github.com/bytecodealliance/wasmtime"
categories = ["no-std"]
license = "Apache-2.0 WITH LLVM-exception"
readme = "README.md"
edition = "2018"
[dependencies]
cranelift-codegen = { path = "../codegen", version = "0.65.0", default-features = false }
target-lexicon = "0.10"
[target.'cfg(any(target_arch = "x86", target_arch = "x86_64"))'.dependencies]
raw-cpuid = "7.0.3"
[features]
default = ["std"]
std = ["cranelift-codegen/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" }