diff --git a/Cargo.toml b/Cargo.toml index 1f8f6afbf8..cf41ed2bde 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -405,3 +405,8 @@ codegen-units = 1 # Help to achieve a better result with lto [profile.bench] inherits = "release" #debug = true + +[profile.optdev] +inherits = "release" +lto = "off" +codegen-units = 16