From e3b8542cf84a2b2284e12f0424fde45c88f8771d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Mon, 13 Nov 2023 16:43:25 +0100 Subject: [PATCH] ci: Make docs warnings fail CI --- src/meson.build | 1 + 1 file changed, 1 insertion(+) diff --git a/src/meson.build b/src/meson.build index 9310db76..fe90a20f 100644 --- a/src/meson.build +++ b/src/meson.build @@ -78,6 +78,7 @@ rustdoc_flags = ' '.join([ '--extern-html-root-url=gtk4=https://gtk-rs.org/gtk4-rs/stable/latest/docs/', '--extern-html-root-url=libadwaita=https://world.pages.gitlab.gnome.org/Rust/libadwaita-rs/stable/latest/docs/', '--cfg=docsrs', + '-Dwarnings', ]) doc_env = ['RUSTDOCFLAGS=' + rustdoc_flags ] doc_deps = [