From 413ca089db00fa69373498e91872f4d30e061d5f Mon Sep 17 00:00:00 2001 From: Jorge Aparicio Date: Tue, 26 May 2020 21:43:11 +0200 Subject: [PATCH] do not optimize build deps --- Cargo.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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