Files
wasmtime/cranelift/Cargo.toml
Caroline Cullen 65a1a6bb28 Add serde functionality into lib. (#422)
* Adds decoration to the verifier errors.

example:

function %bad(i32) fast {
ebb0(v0: i32):
    brnz.i32 v0, ebb1
    return
    ^~~~~~

verifier inst1: Internal return not allowed with return_at_end=1

ebb1:
    trapz.i32 v0, user6
    return
}

Fixes #68

* Making it so that pretty_function_error and write_function_plain are both private.

* Changes write_ebb to decorate_ebb.
Adds documentation line to decorate_function.

* Removing Cargo.toml lib/serde addition

* Add serde functionality into lib.

* Fix so code is compatible with Rust version 1.25.0.

* Move ser/de functions to utility file, update description, remove borrow from arms.

* Remove commented out code.
2018-07-31 07:48:12 -07:00

51 lines
1.7 KiB
TOML

[package]
name = "cranelift-tools"
authors = ["The Cranelift Project Developers"]
version = "0.17.0"
description = "Binaries for testing the Cranelift libraries"
license = "Apache-2.0 WITH LLVM-exception"
documentation = "https://cranelift.readthedocs.io/"
repository = "https://github.com/CraneStation/cranelift"
publish = false
[[bin]]
name = "clif-util"
path = "src/clif-util.rs"
[dependencies]
cfg-if = "0.1"
cranelift-codegen = { path = "lib/codegen", version = "0.17.0" }
cranelift-reader = { path = "lib/reader", version = "0.17.0" }
cranelift-frontend = { path = "lib/frontend", version = "0.17.0" }
cranelift-serde = { path = "lib/serde", version = "0.17.0", optional = true }
cranelift-wasm = { path = "lib/wasm", version = "0.17.0", optional = true }
cranelift-native = { path = "lib/native", version = "0.17.0" }
cranelift-filetests = { path = "lib/filetests", version = "0.17.0" }
cranelift-module = { path = "lib/module", version = "0.17.0" }
cranelift-faerie = { path = "lib/faerie", version = "0.17.0" }
cranelift-simplejit = { path = "lib/simplejit", version = "0.17.0" }
cranelift = { path = "lib/umbrella", version = "0.17.0" }
filecheck = "0.3.0"
docopt = "1"
serde = "1.0.8"
serde_derive = "1.0.8"
term = "0.5.1"
capstone = { version = "0.4", optional = true }
wabt = { version = "0.4", optional = true }
target-lexicon = "0.0.3"
[features]
default = ["disas", "wasm"]
disas = ["capstone"]
wasm = ["wabt", "cranelift-wasm"]
[workspace]
# We want debug symbols on release binaries by default since it allows profiling
# tools to give more accurate information. We can always strip them out later if
# necessary.
[profile.release]
debug = true
[profile.bench]
debug = true