From 84bbbea2726d2ba5ea84eb4aad4666ab1439832c Mon Sep 17 00:00:00 2001 From: Eliza Weisman Date: Wed, 29 Dec 2021 10:33:34 -0800 Subject: [PATCH] chore: deny warnings in docs builds This way, we'll get a build failure on PRs if the docs are broken. I really thought we already did this, but apparently, we don't? Signed-off-by: Eliza Weisman --- netlify.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/netlify.toml b/netlify.toml index 6d3e6496f1..c432a382bd 100644 --- a/netlify.toml +++ b/netlify.toml @@ -7,6 +7,7 @@ [build.environment] RUSTDOCFLAGS=""" + -D warnings \ --cfg docsrs \ --html-before-content /opt/build/repo/assets/warning.html \ --html-in-header /opt/build/repo/assets/noindex.html \