[router] optimize Rust compilation and development workflow (#9133)

This commit is contained in:
Simo Lin
2025-08-13 05:14:25 -07:00
committed by GitHub
parent 71fb8c9527
commit 6337d9057c
2 changed files with 17 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
[build]
rustflags = [
]
rustflags = []
incremental = true
[target.aarch64-apple-darwin]
rustflags = [

View File

@@ -58,3 +58,18 @@ path = "benches/request_processing.rs"
[profile.release]
lto = "thin"
codegen-units = 1
[profile.dev]
opt-level = 0
debug = true
split-debuginfo = "unpacked"
incremental = true
[profile.dev.build-override]
opt-level = 3
codegen-units = 1
[profile.dev-opt]
inherits = "dev"
opt-level = 1