fix(1785): enable lto and codegen-units in release build (#6586)

Signed-off-by: lsytj0413 <511121939@qq.com>
This commit is contained in:
Songlin Yang 2026-02-04 21:34:09 +08:00 committed by GitHub
parent 98ba4a9cb1
commit 79088dbc80
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -36,3 +36,7 @@ reqwest = { version = "0.12.28", default-features = false, features = ["multipar
tower = "0.5.2"
tower-http = "0.6.8"
url = "2.5.8"
[profile.release]
codegen-units = 1
lto = true