Deny warnings in the CI by default (#616)
* Deny warnings in the CI by default This commit passes `-D warnings` flag to `rustc` in the Test stage of the CI in order to deny warnings on _all_ tested platforms. * Fix warnings * Fix warnings
This commit is contained in:
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
@@ -144,6 +144,7 @@ jobs:
|
||||
- run: cargo test --features test_programs --all --exclude lightbeam --exclude wasmtime-wasi-c --exclude wasmtime-py -- --nocapture
|
||||
env:
|
||||
RUST_BACKTRACE: 1
|
||||
RUSTFLAGS: "-D warnings"
|
||||
|
||||
# Build and test lightbeam if we're using the nightly toolchain. Note that
|
||||
# Lightbeam tests fail right now, but we don't want to block on that.
|
||||
|
||||
Reference in New Issue
Block a user