From a9edb0916f3e6c3d6a49e0fed4a6709c2cbf6e7b Mon Sep 17 00:00:00 2001 From: Stephen Waits Date: Tue, 5 May 2026 13:35:31 -0600 Subject: [PATCH] ci(fuzz): drop --locked on cargo install cargo-fuzz cargo-fuzz's bundled Cargo.lock pinned rustix=0.36.5, which used the now-removed `rustc_attrs` cfg name and broke the install step on current nightly toolchain (the only toolchain that can build the fuzzers via libfuzzer-sys). Letting cargo resolve fresh picks a recent rustix that builds cleanly. Fixes the fuzz-smoke matrix on the v0.4.0 push CI run. --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1d7415e..06d8b88 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -104,6 +104,10 @@ jobs: with: workspaces: fuzz -> target - name: Install cargo-fuzz - run: cargo install cargo-fuzz --locked + # No `--locked`: cargo-fuzz's bundled Cargo.lock pins + # rustix=0.36.5, which uses the now-removed `rustc_attrs` cfg + # name and fails to build on current nightly. Letting cargo + # resolve fresh picks a recent rustix that builds cleanly. + run: cargo install cargo-fuzz - name: 60-second soak run: cargo fuzz run ${{ matrix.target }} -- -max_total_time=60