From 54dd085e27afa8e5d9e54417581130901ec39fcf Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Thu, 15 Aug 2019 18:31:06 -0700 Subject: [PATCH] Add a default-run, so that "cargo run" doesn't need a --bin option. default-run is a new feature in Rust 1.37. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 0a2cca5cf3..eb1466b202 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] }