From: Matt Corallo Date: Sun, 18 Nov 2018 20:34:13 +0000 (-0500) Subject: Ensure fuzz release builds use codegen-units=1 and LTO X-Git-Tag: v0.0.12~267^2 X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=commitdiff_plain;h=refs%2Fheads%2F2018-11-fuzz-crash-redux;p=rust-lightning Ensure fuzz release builds use codegen-units=1 and LTO --- diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index ecf3809c5..c8ed4b613 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -31,6 +31,10 @@ cc = "1.0" [workspace] members = ["."] +[profile.release] +lto = true +codegen-units = 1 + [[bin]] name = "peer_crypt_target" path = "fuzz_targets/peer_crypt_target.rs"