Files
wasmtime/cranelift/filetests/Cargo.toml
Andrew Brown ff3c44385c Add test run to cranelift-filetests to allow executing CLIF (#890)
* Add ability to run CLIF IR using `clif-util run [-v] {file}` and add `test run` to cranelift-filetests to allow executing CLIF

This re-factors the compile/execute parts to a FunctionRunner that is shared between cranelift-filetests and clif-util. CLIF can be now be run using `clif-util run` as well as during `clif-util test` for files with a `test run` header. As before, only functions suffixed with a `run` comment are executed. The `run: fn(...) == ...` expression syntax is left for a subsequent change.
2019-08-21 18:03:09 +02:00

23 lines
850 B
TOML

[package]
name = "cranelift-filetests"
authors = ["The Cranelift Project Developers"]
version = "0.40.0"
description = "Test driver and implementations of the filetest commands"
license = "Apache-2.0 WITH LLVM-exception"
documentation = "https://cranelift.readthedocs.io/en/latest/testing.html#file-tests"
repository = "https://github.com/CraneStation/cranelift"
publish = false
edition = "2018"
[dependencies]
cranelift-codegen = { path = "../cranelift-codegen", version = "0.40.0", features = ["testing_hooks"] }
cranelift-native = { path = "../cranelift-native", version = "0.40.0" }
cranelift-reader = { path = "../cranelift-reader", version = "0.40.0" }
cranelift-preopt = { path = "../cranelift-preopt", version = "0.40.0" }
file-per-thread-logger = "0.1.2"
filecheck = "0.4.0"
log = "0.4.6"
mmap = "0.1.1"
num_cpus = "1.8.0"
region = "2.1.2"