Skip to content

Commit 3a4387d

Browse files
committed
Bump fuzz MSRV to 1.80
honggfuzz builds appear to fail on 1.75 - 1.79, so we just pick an MSRV of the first toolchain that actually works. The cargo command for testing binaries has also changed, which is reflected here.
1 parent 89671a5 commit 3a4387d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,9 @@ jobs:
254254
fuzz:
255255
runs-on: self-hosted
256256
env:
257-
TOOLCHAIN: 1.75
257+
# For whatever reason, honggfuzz doesn't build on 1.75, and there's not a lot of
258+
# reason to insist on 1.75 for fuzzing, so we just pick an MSRV of 1.80 for fuzz.
259+
TOOLCHAIN: 1.80
258260
steps:
259261
- name: Checkout source code
260262
uses: actions/checkout@v4
@@ -264,7 +266,7 @@ jobs:
264266
- name: Sanity check fuzz targets on Rust ${{ env.TOOLCHAIN }}
265267
run: |
266268
cd fuzz
267-
RUSTFLAGS="--cfg=fuzzing --cfg=secp256k1_fuzz --cfg=hashes_fuzz" cargo test --verbose --color always --lib --bins -j8
269+
RUSTFLAGS="--cfg=fuzzing --cfg=secp256k1_fuzz --cfg=hashes_fuzz" cargo test --verbose --color always --lib --bin -j8
268270
cargo clean
269271
- name: Run fuzzers
270272
run: cd fuzz && ./ci-fuzz.sh && cd ..

0 commit comments

Comments
 (0)