deny warnings on CI and check.sh with -D warnings (#1710)
This commit is contained in:
parent
f8ce51e5aa
commit
083e20474b
2 changed files with 2 additions and 1 deletions
2
.github/workflows/rust.yml
vendored
2
.github/workflows/rust.yml
vendored
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue