From 3341d7c36c64d0a85b9eedf1b4f87b55d62211bd Mon Sep 17 00:00:00 2001 From: Prabhat Verma Date: Thu, 3 Apr 2025 22:56:39 +0530 Subject: [PATCH] update libFuzzer fuzz instructions --- fuzz/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/fuzz/README.md b/fuzz/README.md index 6eb08b45226..37164e8075c 100644 --- a/fuzz/README.md +++ b/fuzz/README.md @@ -61,6 +61,7 @@ To run fuzzing using `cargo-fuzz / libFuzzer`, run ```shell rustup install nightly # Note: libFuzzer requires a nightly version of rust. +export RUSTFLAGS="--cfg=fuzzing --cfg=secp256k1_fuzz --cfg=hashes_fuzz" cargo +nightly fuzz run --features "libfuzzer_fuzz" msg_ping_target ``` Note: If you encounter a `SIGKILL` during run/build check for OOM in kernel logs and consider