Skip to content

Commit 2001e76

Browse files
committed
Deny warnings in CI
There are currently a lot of warnings printed in CI, mostly dead code. Update CI to deny warnings.
1 parent a991664 commit 2001e76

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: CI
22
on: [push, pull_request]
33

4+
env:
5+
RUSTDOCFLAGS: -Dwarnings
6+
RUSTFLAGS: -Dwarnings
7+
48
jobs:
59
test:
610
name: Test

ci/run-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ run() {
4747
"ci/docker/$target"
4848
docker run \
4949
--rm \
50-
-e RUST_COMPILER_RT_ROOT \
50+
-e "RUSTFLAGS=${RUSTFLAGS:-}" \
5151
-e "CARGO_TARGET_DIR=/builtins-target" \
5252
-v "$(pwd):/checkout:ro" \
5353
-w /checkout \

0 commit comments

Comments
 (0)