Skip to content

ci: drop redundant build step, document why clippy needs nightly - #422

Merged
heeckhau merged 2 commits into
devfrom
ci/trim-redundant-build-step
Jun 10, 2026
Merged

ci: drop redundant build step, document why clippy needs nightly#422
heeckhau merged 2 commits into
devfrom
ci/trim-redundant-build-step

Conversation

@heeckhau

Copy link
Copy Markdown
Contributor

Summary

Two small CI cleanups in rust.yml:

  • Remove the standalone cargo build step from the Build and Test job. cargo test compiles the same dev-profile code plus the test binaries, so the build step duplicated work on every run.
  • Document why the rustfmt/clippy job uses nightly, so it doesn't get "simplified" to stable and break CI:
    • .rustfmt.toml uses unstable options (imports_granularity, wrap_comments)
    • clippy runs with --all-features, which enables matrix-transpose's simd-transpose feature — that requires the nightly-only portable_simd language feature and does not compile on stable

No behavioral change to what CI checks.

heeckhau and others added 2 commits June 10, 2026 11:12
cargo test compiles everything the removed cargo build step did, so the
separate build step only duplicated work on every run.

Also add a comment explaining that the rustfmt_and_clippy job cannot
move to stable: .rustfmt.toml uses unstable rustfmt options, and clippy
with --all-features builds matrix-transpose's simd-transpose feature,
which requires the nightly-only portable_simd language feature.
@heeckhau
heeckhau merged commit b2017b5 into dev Jun 10, 2026
4 checks passed
@heeckhau
heeckhau deleted the ci/trim-redundant-build-step branch June 10, 2026 14:35
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