Skip to content

Commit e62bb95

Browse files
committed
Apply --cfg=fuzzing when fuzzing, as required by new secp256k1
Note that rust-fuzz wrappers (including honggfuzz) already apply this for us.
1 parent 5310ba8 commit e62bb95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ jobs:
202202
sudo apt-get update
203203
sudo apt-get -y install build-essential binutils-dev libunwind-dev
204204
- name: Sanity check fuzz targets on Rust ${{ env.TOOLCHAIN }}
205-
run: cd fuzz && cargo test --verbose --color always
205+
run: cd fuzz && RUSTFLAGS="--cfg=fuzzing" cargo test --verbose --color always
206206
- name: Run fuzzers
207207
run: cd fuzz && ./ci-fuzz.sh
208208

0 commit comments

Comments
 (0)