mirror of
https://github.com/roc-lang/roc.git
synced 2025-08-03 19:58:18 +00:00
switch to only lines for debug info by default
This commit is contained in:
parent
ff6586bf9f
commit
c8bbb55111
1 changed files with 10 additions and 3 deletions
13
Cargo.toml
13
Cargo.toml
|
@ -175,16 +175,23 @@ wyhash = "0.5.0"
|
|||
# Optimizations based on https://deterministic.space/high-performance-rust.html
|
||||
[profile.release]
|
||||
codegen-units = 1
|
||||
|
||||
# debug = true # enable when profiling
|
||||
|
||||
[profile.dev]
|
||||
debug = "line-tables-only"
|
||||
|
||||
[profile.bench]
|
||||
codegen-units = 1
|
||||
lto = "thin"
|
||||
|
||||
[profile.release-with-debug]
|
||||
debug = true
|
||||
inherits = "release"
|
||||
debug = true
|
||||
|
||||
[profile.release-with-lto]
|
||||
lto = "thin" # TODO: We could consider full here since this is only used for packaged release on github.
|
||||
inherits = "release"
|
||||
lto = "thin" # TODO: We could consider full here since this is only used for packaged release on github.
|
||||
|
||||
[profile.debug-full]
|
||||
inherits = "dev"
|
||||
debug = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue