summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2021-04-09 08:18:49 -0400
committerGitHub <noreply@github.com>2021-04-09 08:18:49 -0400
commita87da4b19a6da67dde15d1d0ceefaad2bdad1637 (patch)
tree4a98cfbb187b8cbcf0430c25da896726d7b3afed
parent40983a48b6f34bcdd3dd5cd8ea24efc0410299f0 (diff)
Improve incremental build time (#10039)
Unfortunately this increases the release build size by 8M ``` | | incremental build | full build | binary size | |--------|-------------------|------------|-------------| | main | 4m 21s | 6m 24s | 72M | | #10039 | 1m 45s | 5m 28s | 80M | ```
-rw-r--r--Cargo.toml11
1 files changed, 0 insertions, 11 deletions
diff --git a/Cargo.toml b/Cargo.toml
index bdfcd2adb..a22ff581b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -20,17 +20,6 @@ exclude = [
"std/hash/_wasm"
]
-
-[profile.release]
-codegen-units = 1
-lto = true
-opt-level = 'z' # Optimize for size
-
-[profile.bench]
-codegen-units = 1
-lto = true
-opt-level = 'z' # Optimize for size
-
# Optimize these packages for perf
[profile.release.package.rand]
opt-level = 3