From 0f2c2f162dfc485ffe9dd14a852b799b1ccd7e58 Mon Sep 17 00:00:00 2001 From: Weihang Lo Date: Wed, 24 Jan 2024 17:36:12 -0500 Subject: [PATCH] docs(ci): also suggest `cargo hack --no-private` --- src/doc/src/guide/continuous-integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/src/guide/continuous-integration.md b/src/doc/src/guide/continuous-integration.md index 282ca1ab8de8..df6a90dd6a48 100644 --- a/src/doc/src/guide/continuous-integration.md +++ b/src/doc/src/guide/continuous-integration.md @@ -173,7 +173,7 @@ jobs: steps: - uses: actions/checkout@v4 - uses: taiki-e/install-action@cargo-hack - - run: cargo hack check --rust-version --workspace --all-targets --ignore-private + - run: cargo hack check --rust-version --workspace --all-targets --no-private ``` This tries to balance thoroughness with turnaround time: - A single platform is used as most projects are platform-agnostic, trusting platform-specific dependencies to verify their behavior.