Move most wasmtime tests into one test suite (#1544)

* Move most wasmtime tests into one test suite

This commit moves most wasmtime tests into a single test suite which
gets compiled into one executable instead of having lots of test
executables. The goal here is to reduce disk space on CI, and this
should be achieved by having fewer executables which means fewer copies
of `libwasmtime.rlib` linked across binaries on the system. More
importantly though this means that DWARF debug information should only
be in one executable rather than duplicated across many.

* Share more build caches

Globally set `RUSTFLAGS` to `-Dwarnings` instead of individually so all
build steps share the same value.

* Allow some dead code in cranelift-codegen

Prevents having to fix all warnings for all possible feature
combinations, only the main ones which come up.

* Update some debug file paths
This commit is contained in:
Alex Crichton
2020-04-17 17:22:12 -05:00
committed by GitHub
parent a524f58dfe
commit 4c82da440a
39 changed files with 49 additions and 34 deletions

5
Cargo.lock generated
View File

@@ -2117,16 +2117,12 @@ dependencies = [
"anyhow",
"backtrace",
"cfg-if",
"file-per-thread-logger",
"lazy_static",
"libc",
"pretty_env_logger",
"rayon",
"region",
"rustc-demangle",
"target-lexicon",
"tempfile",
"wasi-common",
"wasmparser",
"wasmtime-environ",
"wasmtime-jit",
@@ -2177,6 +2173,7 @@ dependencies = [
"wasmtime",
"wasmtime-debug",
"wasmtime-environ",
"wasmtime-fuzzing",
"wasmtime-jit",
"wasmtime-obj",
"wasmtime-runtime",