Files
wasmtime/cranelift/Cargo.toml
Jakob Stoklund Olesen de9b1d1004 Enable debug assertions for cretonne-tools.
The cton-util executable is used in --release mode to run the file
tests. We want assertions enabled for that.

This doesn't affect the compiler flags used to build the Cretonne crate
when it is used as a dependency in another project.
2017-09-27 12:55:34 -07:00

38 lines
1.0 KiB
TOML

[package]
name = "cretonne-tools"
authors = ["The Cretonne Project Developers"]
version = "0.0.0"
description = "Binaries for testing the Cretonne library"
license = "Apache-2.0"
documentation = "https://cretonne.readthedocs.io/"
repository = "https://github.com/stoklund/cretonne"
publish = false
[[bin]]
name = "cton-util"
path = "src/cton-util.rs"
[dependencies]
cretonne = { path = "lib/cretonne" }
cretonne-reader = { path = "lib/reader" }
cretonne-frontend = { path = "lib/frontend" }
cretonne-wasm = { path = "lib/wasm" }
cretonne-native = { path = "lib/native" }
filecheck = { path = "lib/filecheck" }
docopt = "0.8.0"
serde = "1.0.8"
serde_derive = "1.0.8"
num_cpus = "1.5.1"
tempdir="0.3.5"
term = "0.4.6"
[workspace]
# Enable debug assertions and parallel compilation when building cretonne-tools
# since they are for testing and development mostly. This doesn't affect the
# flags used to build the Cretonne crate when used as a dependency.
[profile.release]
opt-level = 2
debug-assertions = true
codegen-units = 4