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:
Trevor Gross 2024-05-06 02:49:35 -05:00 committed by Amanieu d'Antras
parent e30a71cc24
commit ccfe0e3808
2 changed files with 5 additions and 0 deletions

View file

@ -1,6 +1,10 @@
name: CI
on: [push, pull_request]
env:
RUSTDOCFLAGS: -Dwarnings
RUSTFLAGS: -Dwarnings
jobs:
test:
name: Test

View file

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