diff --git a/Cargo.toml b/Cargo.toml index 7cc0e86bbf..6cb33d8dbc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,3 +41,9 @@ members = [ [profile.release] panic = "unwind" +opt-level = 3 + +[profile.production] +inherits = "release" +lto = true +codegen-units = 1