From 76392d49aabc43d6afe878646fa1ed237beb59a1 Mon Sep 17 00:00:00 2001 From: Ryo Onodera Date: Thu, 11 Jan 2024 11:03:21 +0900 Subject: [PATCH] Try to make check3 faster --- scripts/check-dev-context-only-utils.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/check-dev-context-only-utils.sh b/scripts/check-dev-context-only-utils.sh index cb405d78f77ca1..8719af96a212e4 100755 --- a/scripts/check-dev-context-only-utils.sh +++ b/scripts/check-dev-context-only-utils.sh @@ -147,6 +147,7 @@ fi # 2. Check implicit usage of `dev-context-only-utils`-gated code in dev (= # test/benches) code by building in isolation from other crates, which might # happen to enable `dev-context-only-utils` +export RUSTFLAGS="-Z threads=8 $RUSTFLAGS" if [[ $mode = "check-bins" || $mode = "full" ]]; then _ cargo "+${rust_nightly}" hack check --bins fi