]> git.bitcoin.ninja Git - ldk-c-bindings/commitdiff
Improve c-bindings-gen compile time somewhat
authorMatt Corallo <git@bluematt.me>
Thu, 22 Apr 2021 02:33:31 +0000 (02:33 +0000)
committerMatt Corallo <git@bluematt.me>
Thu, 22 Apr 2021 02:43:03 +0000 (02:43 +0000)
c-bindings-gen/Cargo.toml

index dedeade8f8e28e3746f5754ba8d25cb9608a40f4..d963e4304943103301ab8756921bb4fcd0ece13c 100644 (file)
@@ -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: