diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2021-04-09 08:18:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-09 08:18:49 -0400 |
commit | a87da4b19a6da67dde15d1d0ceefaad2bdad1637 (patch) | |
tree | 4a98cfbb187b8cbcf0430c25da896726d7b3afed | |
parent | 40983a48b6f34bcdd3dd5cd8ea24efc0410299f0 (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.toml | 11 |
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 |