mirror of
https://github.com/sharkdp/fd.git
synced 2026-10-12 02:22:28 +00:00
build: Reduce debug info for dev builds
Hopefully this will sped up dev builds. Adds a new debugging profile if full debug symbols are needed.
This commit is contained in:
+10
@@ -76,6 +76,16 @@ tempfile = "3.23"
|
||||
filetime = "0.2"
|
||||
test-case = "3.3"
|
||||
|
||||
[profile.dev]
|
||||
debug = "line-tables-only"
|
||||
|
||||
[profile.dev.package."*"]
|
||||
debug = false
|
||||
|
||||
[profile.debugging]
|
||||
inherits = "dev"
|
||||
debug = true
|
||||
|
||||
[profile.release]
|
||||
lto = true
|
||||
strip = true
|
||||
|
||||
Reference in New Issue
Block a user