Skip to content

Commit 3341d7c

Browse files
committed
update libFuzzer fuzz instructions
1 parent 8d8b4ea commit 3341d7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

fuzz/README.md

+1
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ To run fuzzing using `cargo-fuzz / libFuzzer`, run
6161

6262
```shell
6363
rustup install nightly # Note: libFuzzer requires a nightly version of rust.
64+
export RUSTFLAGS="--cfg=fuzzing --cfg=secp256k1_fuzz --cfg=hashes_fuzz"
6465
cargo +nightly fuzz run --features "libfuzzer_fuzz" msg_ping_target
6566
```
6667
Note: If you encounter a `SIGKILL` during run/build check for OOM in kernel logs and consider

0 commit comments

Comments
 (0)