From 3a066ccbf27ea249dcd7403530cda33318ebb3e7 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Sun, 18 Nov 2018 15:34:13 -0500 Subject: [PATCH] Ensure fuzz release builds use codegen-units=1 and LTO --- fuzz/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) 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" -- 2.39.5