* 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
50 lines
1.4 KiB
TOML
50 lines
1.4 KiB
TOML
[package]
|
|
name = "wasmtime"
|
|
version = "0.15.0"
|
|
authors = ["The Wasmtime Project Developers"]
|
|
description = "High-level API to expose the Wasmtime runtime"
|
|
documentation = "https://docs.rs/wasmtime"
|
|
license = "Apache-2.0 WITH LLVM-exception"
|
|
repository = "https://github.com/bytecodealliance/wasmtime"
|
|
readme = "README.md"
|
|
edition = "2018"
|
|
|
|
[dependencies]
|
|
wasmtime-runtime = { path = "../runtime", version = "0.15.0" }
|
|
wasmtime-environ = { path = "../environ", version = "0.15.0" }
|
|
wasmtime-jit = { path = "../jit", version = "0.15.0" }
|
|
wasmtime-profiling = { path = "../profiling", version = "0.15.0" }
|
|
wasmparser = "0.51.2"
|
|
target-lexicon = { version = "0.10.0", default-features = false }
|
|
anyhow = "1.0.19"
|
|
region = "2.0.0"
|
|
libc = "0.2"
|
|
cfg-if = "0.1.9"
|
|
backtrace = "0.3.42"
|
|
rustc-demangle = "0.1.16"
|
|
lazy_static = "1.4"
|
|
wat = { version = "1.0.10", optional = true }
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
winapi = "0.3.7"
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.0"
|
|
|
|
[badges]
|
|
maintenance = { status = "actively-developed" }
|
|
|
|
[features]
|
|
default = ['wat', 'jitdump']
|
|
|
|
# Enables experimental support for the lightbeam codegen backend, an alternative
|
|
# to cranelift. Requires Nightly Rust currently, and this is not enabled by
|
|
# default.
|
|
lightbeam = ["wasmtime-jit/lightbeam"]
|
|
|
|
# Enables support for the `perf` jitdump profiler
|
|
jitdump = ["wasmtime-jit/jitdump"]
|
|
|
|
# Enables support for the `VTune` profiler
|
|
vtune = ["wasmtime-jit/vtune"]
|