adjust dev build args to speed up builds
Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
parent
33f0d111bc
commit
ccd149245f
1 changed files with 5 additions and 1 deletions
|
@ -359,10 +359,14 @@ systemd-units = { unit-name = "matrix-conduit" }
|
|||
[profile.dev]
|
||||
debug = 0
|
||||
lto = 'off'
|
||||
codegen-units = 512
|
||||
incremental = true
|
||||
# seems to speed up continuous debug compilations
|
||||
[profile.dev.build-override]
|
||||
opt-level = 3
|
||||
[profile.dev.package."*"] # external dependencies
|
||||
opt-level = 1
|
||||
[profile.dev.package."*"]
|
||||
[profile.dev.package."tokio"]
|
||||
opt-level = 3
|
||||
|
||||
# default release profile
|
||||
|
|
Loading…
Add table
Reference in a new issue