Skip to content

ci(windows): move cargo clippy step to release build mode - #5075

Merged
rami3l merged 1 commit into
rust-lang:mainfrom
rami3l:ci/clippy-not-dev
Sep 14, 2026
Merged

rami3l merged 1 commit into
rust-lang:mainfrom
rami3l:ci/clippy-not-dev

Conversation

@rami3l

@rami3l rami3l commented Sep 13, 2026

Copy link
Copy Markdown
Member

Follow-up of #5074.

On Windows, cargo clippy is only run when compiling to MSVC targets, and currently only on the dev build mode, where we are already additionally running the full test suite.

Thus, I wonder if running cargo clippy on release will save us a few minutes more.

Outcome

TLDR: A wall time save of ~8mins for the Windows matrix compared to the original, and ~5mins compared to after #5074.

Original state (27mins), at https://github.com/rust-lang/rustup/actions/runs/34693481373:

image

After #5074 (25mins), at https://github.com/rust-lang/rustup/actions/runs/34750325642?pr=5074:

image

After this patch (19mins), at https://github.com/rust-lang/rustup/actions/runs/34780526239?pr=5075:

image

@rami3l
rami3l requested review from ChrisDenton and djc September 14, 2026 07:35
@rami3l
rami3l marked this pull request as ready for review September 14, 2026 07:35
@rami3l
rami3l added this pull request to the merge queue Sep 14, 2026
Merged via the queue into rust-lang:main with commit 7464de1 Sep 14, 2026
32 checks passed
@rami3l
rami3l deleted the ci/clippy-not-dev branch September 14, 2026 08:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants