From bd25526a4fd366e92baa92533005a0853a2e4b1c Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Tue, 5 Apr 2022 08:07:57 +0200 Subject: [PATCH] check.sh: fail on rustdoc failure Same as https://github.com/emilk/egui/pull/1454 --- sh/check.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sh/check.sh b/sh/check.sh index 2a319cf4..51e344c0 100755 --- a/sh/check.sh +++ b/sh/check.sh @@ -6,6 +6,8 @@ set -eux # Checks all tests, lints etc. # Basically does what the CI does. +RUSTDOCFLAGS="-D warnings" # https://github.com/emilk/egui/pull/1454 + cargo check --workspace --all-targets cargo check --workspace --all-targets --all-features cargo check -p egui_demo_app --lib --target wasm32-unknown-unknown