This switches from a custom list of architectures to use the target-lexicon crate. - "set is_64bit=1; isa x86" is replaced with "target x86_64", and similar for other architectures, and the `is_64bit` flag is removed entirely. - The `is_compressed` flag is removed too; it's no longer being used to control REX prefixes on x86-64, ARM and Thumb are separate architectures in target-lexicon, and we can figure out how to select RISC-V compressed encodings when we're ready.
31 lines
1.1 KiB
TOML
31 lines
1.1 KiB
TOML
[package]
|
|
name = "cretonne-wasm"
|
|
version = "0.8.0"
|
|
authors = ["The Cretonne Project Developers"]
|
|
description = "Translator from WebAssembly to Cretonne IR"
|
|
repository = "https://github.com/cretonne/cretonne"
|
|
license = "Apache-2.0"
|
|
readme = "README.md"
|
|
keywords = ["webassembly", "wasm"]
|
|
|
|
[dependencies]
|
|
wasmparser = { version = "0.16.1", default-features = false }
|
|
cretonne-codegen = { path = "../codegen", version = "0.8.0", default-features = false }
|
|
cretonne-frontend = { path = "../frontend", version = "0.8.0", default-features = false }
|
|
hashmap_core = { version = "0.1.4", optional = true }
|
|
failure = { version = "0.1.1", default-features = false, features = ["derive"] }
|
|
failure_derive = { version = "0.1.1", default-features = false }
|
|
target-lexicon = { version = "0.0.0", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
wabt = "0.3"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = ["cretonne-codegen/std", "cretonne-frontend/std", "wasmparser/std"]
|
|
core = ["hashmap_core", "cretonne-codegen/core", "cretonne-frontend/core", "wasmparser/core"]
|
|
|
|
[badges]
|
|
maintenance = { status = "experimental" }
|
|
travis-ci = { repository = "cretonne/cretonne" }
|