X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=fuzz%2FCargo.toml;h=5daebb3506681503e197ba92656eb1ddd4eb4c06;hb=266a3aa9152e9d50570ae41b3be1548a715d0754;hp=a6d91781b219ce9f5fcd7553e52bb652b484b950;hpb=7bdbbca3b064be9eadfb716392e099f19878b927;p=rust-lightning diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index a6d91781..5daebb35 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -18,7 +18,7 @@ libfuzzer_fuzz = ["libfuzzer-sys"] stdin_fuzz = [] [dependencies] -lightning = { path = "../lightning", features = ["regex", "hashbrown"] } +lightning = { path = "../lightning", features = ["regex", "hashbrown", "_test_utils"] } lightning-rapid-gossip-sync = { path = "../lightning-rapid-gossip-sync" } bitcoin = { version = "0.29.0", features = ["secp-lowmemory"] } hex = "0.3" @@ -38,6 +38,8 @@ members = ["."] [profile.release] lto = true codegen-units = 1 +debug-assertions = true +overflow-checks = true # When testing a large fuzz corpus, -O1 offers a nice speedup [profile.dev]