From 915008d4742320c60c1cbdaf5fe2fa840f179925 Mon Sep 17 00:00:00 2001 From: link2xt Date: Thu, 8 Jun 2023 12:14:31 +0000 Subject: [PATCH] build: use 1 codegen-units for release builds --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index 4364a2d83..85649bf97 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,6 +23,7 @@ opt-level = "z" lto = true panic = 'abort' opt-level = "z" +codegen-units = 1 [patch.crates-io] quinn-udp = { git = "https://github.com/quinn-rs/quinn", branch="main" }