diff --git a/Cargo.toml b/Cargo.toml index f6a43bbde..eceadf0f4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,6 +16,7 @@ panic = "unwind" [profile.release.package.dash-fuzz] # Disable LTO and keep debuginfo for honggfuzz to avoid link GC issues +codegen-units = 16 debug = 1 [profile.dev] diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index d9b47e8e7..f93bdf390 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -6,12 +6,6 @@ authors = ["Generated by fuzz/generate-files.sh"] license = "CC0-1.0" publish = false -[profile.release] -lto = false -codegen-units = 16 -debug = 1 -panic = "unwind" - [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ["cfg(fuzzing)"] }