[router] optimize Rust compilation and development workflow (#9133)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
[build]
|
||||
rustflags = [
|
||||
]
|
||||
rustflags = []
|
||||
incremental = true
|
||||
|
||||
[target.aarch64-apple-darwin]
|
||||
rustflags = [
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user