From acd74afb4da80272f703b5c37d41713396eeb9f4 Mon Sep 17 00:00:00 2001 From: Update RBMT Bot Date: Sat, 20 Jun 2026 04:40:00 +0000 Subject: [PATCH 1/2] Automated update to cargo-rbmt-0.4.0 --- rbmt-version | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rbmt-version b/rbmt-version index d080ee8a2..642e44101 100644 --- a/rbmt-version +++ b/rbmt-version @@ -1 +1 @@ -a5aab96ea13f3f0dca9a3e43e6a2123fffeecb84 +a25ccc712a61149f585aa66a14a3acf323d39b57 From 8e6c659175bab3029e7c851be5b0f79106837ad2 Mon Sep 17 00:00:00 2001 From: "satsfy (Renato Britto)" Date: Mon, 22 Jun 2026 14:09:04 -0300 Subject: [PATCH 2/2] ci: fix bench job for cargo-rbmt 0.4.0 cargo-rbmt 0.4.0 dropped the `bench` subcommand in favor of the generic `run` passthrough, so `cargo rbmt bench` no longer exists and the Bench job fails to run. Replace it with the equivalent invocation. `RUSTFLAGS="--cfg=bench"` enables the benchmarks module gated behind `#[cfg(bench)]`. nightly is required because `#[bench]` and test::Bencher belong to it. --- .github/workflows/rust.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index aed006b2e..a09e0ba20 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -99,7 +99,7 @@ jobs: - uses: actions/checkout@v6 - uses: ./.github/actions/setup-rbmt - name: "Run bench" - run: cargo rbmt bench + run: RUSTFLAGS="--cfg=bench" cargo rbmt run --toolchain nightly -- bench Format: # 1 job, run cargo fmt directly. name: Format - nightly toolchain