Skip to content

Commit

Permalink
build: use debug=1 back for release
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan committed Jun 14, 2023
1 parent 5cf94c9 commit dfefb4c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,16 @@ hashbrown = { version = "0.13.2", features = ["ahash", "inline-more", "nightly"]
lto = 'off'

[profile.release]
debug = "line-tables-only"
debug = 1
lto = 'thin'

# The profile used for CI in main branch.
# This profile inherits from the release profile, but turns on some checks and assertions for us to
# better catch bugs in CI.
[profile.ci-release]
inherits = "release"
incremental = false
debug = "line-tables-only"
debug-assertions = true
overflow-checks = true

Expand Down

0 comments on commit dfefb4c

Please sign in to comment.