From 1e11e51e3c21c7a436eeb552757ed1a3d9acbdb6 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 22 Apr 2021 02:33:31 +0000 Subject: [PATCH] Improve c-bindings-gen compile time somewhat --- c-bindings-gen/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/c-bindings-gen/Cargo.toml b/c-bindings-gen/Cargo.toml index dedeade..d963e43 100644 --- a/c-bindings-gen/Cargo.toml +++ b/c-bindings-gen/Cargo.toml @@ -9,6 +9,10 @@ syn = { version = "1", features = ["full", "extra-traits"] } proc-macro2 = "1" [profile.release] +incremental = true +codegen-units = 256 +opt-level = 2 +lto = false debug = true # We're not in the workspace as we're just a binary code generator: -- 2.39.5