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:
@@ -39,6 +39,13 @@
|
||||
)
|
||||
)]
|
||||
#![no_std]
|
||||
// Various bits and pieces of this crate might only be used for one platform or
|
||||
// another, but it's not really too useful to learn about that all the time. On
|
||||
// CI we build at least one version of this crate with `--features all-arch`
|
||||
// which means we'll always detect truly dead code, otherwise if this is only
|
||||
// built for one platform we don't have to worry too much about trimming
|
||||
// everything down.
|
||||
#![cfg_attr(not(feature = "all-arch"), allow(dead_code))]
|
||||
|
||||
#[allow(unused_imports)] // #[macro_use] is required for no_std
|
||||
#[macro_use]
|
||||
|
||||
Reference in New Issue
Block a user