mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-02-04 19:48:25 +00:00
Faster debug builds by excluding debug symbols
This also cleans up the release profile in Cargo.toml, which was having its default settings overridden with identical default settings.
This commit is contained in:
parent
622904d07c
commit
83f245237b
@ -52,11 +52,14 @@ default = [ "git" ]
|
||||
git = [ "git2" ]
|
||||
vendored-openssl = ["git2/vendored-openssl"]
|
||||
|
||||
[profile.release]
|
||||
opt-level = 3
|
||||
|
||||
# make dev builds faster by excluding debug symbols
|
||||
[profile.dev]
|
||||
debug = false
|
||||
|
||||
# use LTO for smaller binaries (that take longer to build)
|
||||
[profile.release]
|
||||
lto = true
|
||||
panic = "abort"
|
||||
|
||||
|
||||
[package.metadata.deb]
|
||||
|
Loading…
x
Reference in New Issue
Block a user