From 79c8d2c3455bb8dbdbd6b70420fdebe7f1529a15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Wed, 27 Nov 2024 12:17:38 +0100 Subject: [PATCH] chore: Don't build the docs for xtask Building the docs for xtask spews a bunch of unexpected cfg warnings. As these warnings come from a macro in a dependency and the docs for xtask don't exist nor will, let's just not build them with the rest of the docs. --- .github/workflows/documentation.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 31e2cb3c6..730640898 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -53,7 +53,7 @@ jobs: env: RUSTDOCFLAGS: "--enable-index-page -Zunstable-options --cfg docsrs -Dwarnings" run: - cargo doc --no-deps --workspace --features docsrs + cargo doc --no-deps --workspace --features docsrs --exclude=xtask - name: Upload artifact if: github.event_name == 'push' && github.ref == 'refs/heads/main'