X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=fuzz%2FCargo.toml;h=c8ed4b613cf5d795eae7047a4377f0e937d510bb;hb=d0dfaf8abc452cbb4ac3dfe07293027e4609698f;hp=3cd249ea8218d7ef115054c5afe37d77014662ee;hpb=335012640a809821cd5a0afd35cb1e7463e1002d;p=rust-lightning diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 3cd249ea..c8ed4b61 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -18,7 +18,7 @@ honggfuzz_fuzz = ["honggfuzz"] [dependencies] afl = { version = "0.4", optional = true } lightning = { path = "..", features = ["fuzztarget"] } -bitcoin = { version = "0.14", features = ["fuzztarget"] } +bitcoin = { version = "0.15", features = ["fuzztarget"] } hex = "0.3" honggfuzz = { version = "0.5", optional = true } rust-crypto = "0.2" @@ -31,14 +31,14 @@ cc = "1.0" [workspace] members = ["."] +[profile.release] +lto = true +codegen-units = 1 + [[bin]] name = "peer_crypt_target" path = "fuzz_targets/peer_crypt_target.rs" -[[bin]] -name = "channel_target" -path = "fuzz_targets/channel_target.rs" - [[bin]] name = "full_stack_target" path = "fuzz_targets/full_stack_target.rs" @@ -54,11 +54,11 @@ path = "fuzz_targets/chanmon_deser_target.rs" # message fuzz targets [[bin]] name = "msg_ping_target" -path = "fuzz_targets/msg_ping_target.rs" +path = "fuzz_targets/msg_targets/msg_ping_target.rs" [[bin]] name = "msg_pong_target" -path = "fuzz_targets/msg_pong_target.rs" +path = "fuzz_targets/msg_targets/msg_pong_target.rs" [[bin]] name = "msg_error_message_target"