diff --git a/Cargo.toml b/Cargo.toml index 01cb3c7bd..8894b2519 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -165,6 +165,10 @@ codegen-units = 1 strip = true panic = "abort" +[profile.max-perf-at-small-bin] +inherits = "release" +opt-level = "z" + [profile.test] opt-level = 1 debug = true