From 2b851611868b603f9a06acf1267de0896ac6e29a Mon Sep 17 00:00:00 2001 From: Yujia Qiao Date: Sun, 6 Feb 2022 22:51:18 +0800 Subject: [PATCH] fix: set `codegen-units` to 1 (#124) --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index baff0ee..e2617ff 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,6 +35,7 @@ panic = "abort" [profile.release] panic = "abort" lto = true +codegen-units = 1 [profile.bench] debug = 1