Deny warnings in CI
There are currently a lot of warnings printed in CI, mostly dead code. Update CI to deny warnings.
This commit is contained in:
parent
e30a71cc24
commit
ccfe0e3808
2 changed files with 5 additions and 0 deletions
|
|
@ -1,6 +1,10 @@
|
|||
name: CI
|
||||
on: [push, pull_request]
|
||||
|
||||
env:
|
||||
RUSTDOCFLAGS: -Dwarnings
|
||||
RUSTFLAGS: -Dwarnings
|
||||
|
||||
jobs:
|
||||
test:
|
||||
name: Test
|
||||
|
|
|
|||
|
|
@ -48,6 +48,7 @@ run() {
|
|||
docker run \
|
||||
--rm \
|
||||
-e RUST_COMPILER_RT_ROOT \
|
||||
-e RUSTFLAGS \
|
||||
-e "CARGO_TARGET_DIR=/builtins-target" \
|
||||
-v "$(pwd):/checkout:ro" \
|
||||
-w /checkout \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue