Files
wasmtime/cranelift/Cargo.toml
Dan Gohman 07576d3ed0 Make test-all.sh run unit tests in debug mode.
It turns out that "cargo test --release" doesn't use
`[profile.release]`; it uses `[profile.bench]` instead; see
[here](https://doc.rust-lang.org/cargo/reference/manifest.html) for details.
So the plan to run the tests in optimized mode but with debug-assertions
enabled didn't actually work, and we had an actual failing unit test that
was hidden because assertions were disabled.

So, this makes test-all.sh just run the unit tests in debug mode, as is
the norm for Rust packages, and fixes the buggy test.

This also removes the `[profile.release]` override from the top-level
Cargo.toml file too. We don't need it now that we're not running tests
in release mode, and it had confused multiple people because it made
Cretonne's in-tree builds different from how Cretonne is built when used as
a dependency in other projects.
2018-04-19 07:07:41 -07:00

34 lines
1.1 KiB
TOML

[package]
name = "cretonne-tools"
authors = ["The Cretonne Project Developers"]
version = "0.5.1"
description = "Binaries for testing the Cretonne libraries"
license = "Apache-2.0"
documentation = "https://cretonne.readthedocs.io/"
repository = "https://github.com/cretonne/cretonne"
publish = false
[[bin]]
name = "cton-util"
path = "src/cton-util.rs"
[dependencies]
cretonne-codegen = { path = "lib/codegen", version = "0.5.1" }
cretonne-reader = { path = "lib/reader", version = "0.5.1" }
cretonne-frontend = { path = "lib/frontend", version = "0.5.1" }
cretonne-wasm = { path = "lib/wasm", version = "0.5.1" }
cretonne-native = { path = "lib/native", version = "0.5.1" }
cretonne-filetests = { path = "lib/filetests", version = "0.5.1" }
cretonne-module = { path = "lib/module", version = "0.5.1" }
cretonne-faerie = { path = "lib/faerie", version = "0.5.1" }
cretonne-simplejit = { path = "lib/simplejit", version = "0.5.1" }
cretonne = { path = "lib/umbrella", version = "0.5.1" }
filecheck = "0.3.0"
docopt = "0.8.0"
serde = "1.0.8"
serde_derive = "1.0.8"
tempdir = "0.3.5"
term = "0.5.1"
[workspace]