Ensure fuzz release builds use codegen-units=1 and LTO 2018-11-fuzz-crash-redux
authorMatt Corallo <git@bluematt.me>
Sun, 18 Nov 2018 20:34:13 +0000 (15:34 -0500)
committerMatt Corallo <git@bluematt.me>
Sun, 18 Nov 2018 21:17:06 +0000 (16:17 -0500)
fuzz/Cargo.toml

index ecf3809c59b3ec8cc88ca349b3ad1eff3b9cb7b0..c8ed4b613cf5d795eae7047a4377f0e937d510bb 100644 (file)
@@ -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"