From b9745c05f85dfb3bce34f3c85a391a94dd7728d6 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Wed, 6 Jul 2022 15:51:22 -0500 Subject: [PATCH] Disable tests for `wasmtime-bench-api` (#4395) Additionally remove the `rlib` crate type so it's possible to build the API with LTO options if configured (otherwise Cargo ignores LTO configuration with an `rlib` output since it would hit an error in rustc) --- crates/bench-api/Cargo.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/bench-api/Cargo.toml b/crates/bench-api/Cargo.toml index 300c567768..e8d97cf27d 100644 --- a/crates/bench-api/Cargo.toml +++ b/crates/bench-api/Cargo.toml @@ -11,8 +11,9 @@ publish = false [lib] name = "wasmtime_bench_api" -crate-type = ["rlib", "cdylib"] -# The rlib is only included here so that `cargo test` will run. +crate-type = ["cdylib"] +test = false +doctest = false [dependencies] anyhow = "1.0"