diff --git a/Cargo.toml b/Cargo.toml index 603129a2fc..dbe92f5a4c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -88,3 +88,18 @@ members = [ "homogeneous", "macros", ] + +# do not optimize proc-macro deps or build scripts +[profile.dev.build-override] +codegen-units = 16 +debug = false +debug-assertions = false +opt-level = 0 +overflow-checks = false + +[profile.release.build-override] +codegen-units = 16 +debug = false +debug-assertions = false +opt-level = 0 +overflow-checks = false