Skip to content

Commit

Permalink
chore: add dist-dbg profile
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes committed Jan 12, 2025
1 parent 934ce54 commit 03ae1ae
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ unicode-width.opt-level = 3
[profile.release]
opt-level = 3
lto = "thin"
debug = "line-tables-only"
debug = "none"
strip = "debuginfo" # "symbols" for less binary size but no backtraces
panic = "abort"
codegen-units = 16
Expand All @@ -65,7 +65,7 @@ codegen-units = 16
# e.g. `cargo build --profile profiling`
[profile.profiling]
inherits = "release"
debug = 2
debug = "full"
strip = false

[profile.bench]
Expand All @@ -77,6 +77,13 @@ inherits = "release"
lto = "fat"
codegen-units = 1

# `dist` with debug assertions.
[profile.dist-dbg]
inherits = "dist"
debug = "full"
strip = false
debug-assertions = true

[workspace.dependencies]
# compiler crates
solar = { version = "0.1.1", path = "crates/solar", package = "solar-compiler" }
Expand Down

0 comments on commit 03ae1ae

Please sign in to comment.