diff --git a/Cargo.toml b/Cargo.toml index ff0b2582a..1358dbe56 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,3 +7,13 @@ debug = true [profile.bench] debug = true + +# Set the settings for build scripts and proc-macros. +[profile.dev.build-override] +opt-level = 3 +[profile.release.build-override] +opt-level = 3 +[profile.bench.build-override] +opt-level = 3 +[profile.test.build-override] +opt-level = 3