Browse Source

Merge pull request #491 from acuteenvy/optimize-build

build: add `codegen-units = 1`
Christina Sørensen 2 years ago
parent
commit
a8c00ea79a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Cargo.toml

+ 1 - 0
Cargo.toml

@@ -131,6 +131,7 @@ debug = false
 lto = true
 strip = true
 opt-level = 3
+codegen-units = 1
 
 [[bench]]
 name = "my_benchmark"