Add a default-run, so that "cargo run" doesn't need a --bin option.

default-run is a new feature in Rust 1.37.
This commit is contained in:
Dan Gohman
2019-08-15 18:31:06 -07:00
parent af2b4e4946
commit 54dd085e27

View File

@@ -8,6 +8,7 @@ documentation = "https://cranelift.readthedocs.io/"
categories = ["wasm"]
repository = "https://github.com/CraneStation/wasmtime"
edition = "2018"
default-run = "wasmtime"
[dependencies]
cranelift-codegen = { version = "0.38.0", features = ["enable-serde"] }