[PATCH 0/6] ci: improvements to our Rust infrastructure
From: Patrick Steinhardt <hidden>
Date: 2025-10-07 12:36:42
Hi, this small patch series introduces some improvements for our Rust infrastructure. Most importantly, it introduces a couple of static analysis checks to verify consistent formatting, use Clippy for linting and to verify our minimum supported Rust version. Furthermore, this series also introduces support for building with Rust enabled on Windows. The series is built on top of 45547b60ac (Merge branch 'master' of https://github.com/j6t/gitk, 2025-10-05) with ps/rust-balloon at e425c40aa0 (ci: enable Rust for breaking-changes jobs, 2025-10-02) and ps/gitlab-ci-windows-improvements at 3c4925c3f5 (t8020: fix test failure due to indeterministic tag sorting, 2025-10-02) merged into it. Thanks! Patrick --- Patrick Steinhardt (6): ci: deduplicate calls to `apt-get update` ci: check formatting of our Rust code rust/varint: add safety comments ci: check for common Rust mistakes via Clippy ci: verify minimum supported Rust version rust: support for Windows .github/workflows/main.yml | 15 +++++++++++++++ .gitlab-ci.yml | 13 ++++++++++++- Cargo.toml | 1 + Makefile | 14 ++++++++++++-- ci/install-dependencies.sh | 17 +++++++++++++---- ci/run-rust-checks.sh | 22 ++++++++++++++++++++++ meson.build | 4 ++++ src/cargo-meson.sh | 11 +++++++++-- src/varint.rs | 8 ++++++++ 9 files changed, 96 insertions(+), 9 deletions(-) --- base-commit: 8c8e270f2aba359479c4c2b4ab3c62726e5dac9d change-id: 20251007-b4-pks-ci-rust-8422e6a8196e