* Introduce a `TargetFrontendConfig` type. `TargetFrontendConfig` is information specific to the target which is provided to frontends to allow them to produce Cranelift IR for the target. Currently this includes the pointer size and the default calling convention. The default calling convention is now inferred from the target, rather than being a setting. cranelift-native is now just a provider of target information, rather than also being a provider of settings, which gives it a clearer role. And instead of having cranelift-frontend routines require the whole `TargetIsa`, just require the `TargetFrontendConfig`, and add a way to get the `TargetFrontendConfig` from a `Module`. Fixes #529. Fixes #555.
34 lines
1.3 KiB
TOML
34 lines
1.3 KiB
TOML
[package]
|
|
name = "cranelift-wasm"
|
|
version = "0.22.0"
|
|
authors = ["The Cranelift Project Developers"]
|
|
description = "Translator from WebAssembly to Cranelift IR"
|
|
repository = "https://github.com/CraneStation/cranelift"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
categories = ["no-std", "wasm"]
|
|
readme = "README.md"
|
|
keywords = ["webassembly", "wasm"]
|
|
|
|
[dependencies]
|
|
wasmparser = { version = "0.19.1", default-features = false }
|
|
cranelift-codegen = { path = "../codegen", version = "0.22.0", default-features = false }
|
|
cranelift-entity = { path = "../entity", version = "0.22.0", default-features = false }
|
|
cranelift-frontend = { path = "../frontend", version = "0.22.0", default-features = false }
|
|
hashmap_core = { version = "0.1.9", optional = true }
|
|
failure = { version = "0.1.1", default-features = false, features = ["derive"] }
|
|
failure_derive = { version = "0.1.1", default-features = false }
|
|
log = { version = "0.4.4", default-features = false }
|
|
|
|
[dev-dependencies]
|
|
wabt = "0.6.0"
|
|
target-lexicon = "0.0.3"
|
|
|
|
[features]
|
|
default = ["std"]
|
|
std = ["cranelift-codegen/std", "cranelift-frontend/std", "wasmparser/std"]
|
|
core = ["hashmap_core", "cranelift-codegen/core", "cranelift-frontend/core", "wasmparser/core"]
|
|
|
|
[badges]
|
|
maintenance = { status = "experimental" }
|
|
travis-ci = { repository = "CraneStation/cranelift" }
|