git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH v2 0/6] ci: improvements to our Rust infrastructure

From
Patrick Steinhardt <ps@pks.im>
Date
Oct 8, 2025, 12:04 UTC
Message-ID
<aOZTOs5Z9QyfRXYO@pks.im>
In-Reply-To
<20251008-b4-pks-ci-rust-v2-0-d556ee83c381@pks.im>
On Wed, Oct 08, 2025 at 08:27:11AM +0200, Patrick Steinhardt wrote:
Show 24 quoted lines
> 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.
> 
> Changes in v2:
>   - Adjust comments for `encode_varint()` and `decode_varint()` based on
>     brian's feedback.
>   - Some small improvements to commit messages.
>   - Not changed is the default column limit used by Rust. I think using
>     the column limit of 100 used by the Rust ecosystem is sensible, but
>     if there is a majority advocating for a limit of 80 I'll adapt this.
>   - Link to v1: https://lore.kernel.org/r/20251007-b4-pks-ci-rust-v1-0-394502abe7ea@pks.im

Sorry, I noticed that threading is broken here. An update of b4 made me lose my custom patches that implement shallow threading by accident. The next version will connect back to the original thread again.

Patrick
Previous: Patrick SteinhardtNext: Junio C Hamano
Message 8 of 9 in “ci: improvements to our Rust infrastructure”
  1. 0/6 ci: improvements to our Rust infrastructurePatrick Steinhardt, Oct 8, 2025
  2. 1/6 ci: deduplicate calls to `apt-get update`Patrick Steinhardt, Oct 8, 2025
  3. 2/6 ci: check formatting of our Rust codePatrick Steinhardt, Oct 8, 2025
  4. 3/6 rust/varint: add safety commentsPatrick Steinhardt, Oct 8, 2025
  5. 4/6 ci: check for common Rust mistakes via ClippyPatrick Steinhardt, Oct 8, 2025
  6. 5/6 ci: verify minimum supported Rust versionPatrick Steinhardt, Oct 8, 2025
  7. 6/6 rust: support for WindowsPatrick Steinhardt, Oct 8, 2025
  8. Patrick SteinhardtOct 8, 2025
  9. Junio C HamanoOct 9, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.