Add dbg profile to Cargo; default to faster builds accomodating new users.
This commit is contained in:
parent
ec0f872f8f
commit
050a1a350a
1 changed files with 7 additions and 2 deletions
|
|
@ -723,7 +723,7 @@ strip = false
|
|||
# and can be raised if build times are tolerable.
|
||||
|
||||
[profile.dev]
|
||||
debug = "full"
|
||||
debug = 0
|
||||
#rustflags = [
|
||||
# '--cfg', 'tuwunel_mods',
|
||||
# '-Ztime-passes',
|
||||
|
|
@ -783,7 +783,7 @@ inherits = "dev"
|
|||
|
||||
[profile.dev.package.'*']
|
||||
inherits = "dev"
|
||||
debug = "limited"
|
||||
debug = 0
|
||||
incremental = false
|
||||
codegen-units = 1
|
||||
opt-level = 'z'
|
||||
|
|
@ -800,6 +800,11 @@ opt-level = 'z'
|
|||
# '-Clink-arg=-Wl,-z,nodelete',
|
||||
#]
|
||||
|
||||
# same as dev but slower.
|
||||
[profile.dbg]
|
||||
inherits = "dev"
|
||||
debug = "full"
|
||||
|
||||
# primarily used for CI
|
||||
[profile.test]
|
||||
debug = "limited"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue