mirror of
https://github.com/NotAShelf/microfetch.git
synced 2024-11-22 23:40:42 +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"]}
|
nix = {version = "0.29", features = ["fs", "hostname"]}
|
||||||
color-eyre = { version = "0.6", default-features = false }
|
color-eyre = { version = "0.6", default-features = false }
|
||||||
|
|
||||||
|
[profile.dev]
|
||||||
|
opt-level = 3
|
||||||
|
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
strip = true
|
strip = true
|
||||||
opt-level = "z"
|
opt-level = "z"
|
||||||
lto = true
|
lto = true
|
||||||
codegen-units = 1
|
codegen-units = 1
|
||||||
panic = "abort"
|
panic = "abort"
|
||||||
|
|
||||||
|
[profile.profiler]
|
||||||
|
inherits = "release"
|
||||||
|
debug = true
|
||||||
|
split-debuginfo = "unpacked"
|
||||||
|
strip = "none"
|
||||||
|
|
Loading…
Reference in a new issue