From: Matt Corallo Date: Thu, 22 Apr 2021 02:33:31 +0000 (+0000) Subject: Improve c-bindings-gen compile time somewhat X-Git-Tag: v0.0.98~13^2~2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=1e11e51e3c21c7a436eeb552757ed1a3d9acbdb6;p=ldk-c-bindings Improve c-bindings-gen compile time somewhat --- 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: