Skip to content

Commit 3a066cc

Browse files
committed
Ensure fuzz release builds use codegen-units=1 and LTO
1 parent e67d8c6 commit 3a066cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

fuzz/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ cc = "1.0"
3131
[workspace]
3232
members = ["."]
3333

34+
[profile.release]
35+
lto = true
36+
codegen-units = 1
37+
3438
[[bin]]
3539
name = "peer_crypt_target"
3640
path = "fuzz_targets/peer_crypt_target.rs"

0 commit comments

Comments
 (0)