Skip to content

Commit 183334d

Browse files
committed
CI: Warn on unused crates
1 parent 320e4d6 commit 183334d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/actions/setup-rust-runtime/action.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ runs:
3434
echo "RUSTC_WRAPPER=sccache" >> $GITHUB_ENV
3535
echo "SCCACHE_GHA_ENABLED=true" >> $GITHUB_ENV
3636
echo "RUST_BACKTRACE=1" >> $GITHUB_ENV
37-
echo "RUSTFLAGS=-C debuginfo=line-tables-only -C incremental=false" >> $GITHUB_ENV
37+
echo "RUSTFLAGS=-C debuginfo=line-tables-only -C incremental=false -Wunused-crate-dependencies" >> $GITHUB_ENV
3838

0 commit comments

Comments
 (0)