mirror of
https://github.com/NotAShelf/microfetch.git
synced 2024-11-22 15:40:41 +00:00
isolate build profiles; optimize dev
This commit is contained in:
parent
7bed1f583b
commit
5c335d179e
1 changed files with 10 additions and 0 deletions
10
Cargo.toml
10
Cargo.toml
|
@ -7,9 +7,19 @@ edition = "2021"
|
|||
nix = {version = "0.29", features = ["fs", "hostname"]}
|
||||
color-eyre = { version = "0.6", default-features = false }
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 3
|
||||
|
||||
|
||||
[profile.release]
|
||||
strip = true
|
||||
opt-level = "z"
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
panic = "abort"
|
||||
|
||||
[profile.profiler]
|
||||
inherits = "release"
|
||||
debug = true
|
||||
split-debuginfo = "unpacked"
|
||||
strip = "none"
|
||||
|
|
Loading…
Reference in a new issue