deny warnings on CI and check.sh with -D warnings (#1710)

This commit is contained in:
Emil Ernerfeldt authored and GitHub committed 2022-06-02 21:06:12 +02:00
1 parent f8ce51e5aa
commit 083e20474b
2 files changed
+2 -1

No files matched your search

+1 -1
View File
@@ -6,7 +6,7 @@ env:
# This is required to enable the web_sys clipboard API which eframe web uses
# https://rustwasm.github.io/wasm-bindgen/api/web_sys/struct.Clipboard.html
# https://rustwasm.github.io/docs/wasm-bindgen/web-sys/unstable-apis.html
RUSTFLAGS: --cfg=web_sys_unstable_apis
RUSTFLAGS: --cfg=web_sys_unstable_apis -D warnings
RUSTDOCFLAGS: -D warnings
jobs:
+1
View File
@@ -6,6 +6,7 @@ set -eux
# Checks all tests, lints etc.
# Basically does what the CI does.
RUSTFLAGS="-D warnings"
RUSTDOCFLAGS="-D warnings" # https://github.com/emilk/egui/pull/1454
cargo check --workspace --all-targets