mirror of
https://github.com/orhun/systeroid
synced 2024-07-23 03:14:57 +00:00
chore(project): add cargo profiles
This commit is contained in:
parent
2ae4bdfbdd
commit
bcc1f268a0
20
Cargo.toml
20
Cargo.toml
|
@ -5,3 +5,23 @@ members = [
|
|||
"systeroid-tui",
|
||||
"systeroid"
|
||||
]
|
||||
|
||||
[profile.dev]
|
||||
opt-level = 0
|
||||
debug = true
|
||||
panic = "abort"
|
||||
|
||||
[profile.test]
|
||||
opt-level = 0
|
||||
debug = true
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
debug = false
|
||||
panic = "unwind"
|
||||
lto = true
|
||||
codegen-units = 1
|
||||
|
||||
[profile.bench]
|
||||
opt-level = 3
|
||||
debug = false
|
||||
|
|
Loading…
Reference in a new issue