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:
Jakub Konka
2019-12-04 17:43:36 +01:00
committed by GitHub
parent 991592c4ba
commit 45f41b3c8e
4 changed files with 5 additions and 27 deletions

View File

@@ -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.