Skip to content

Commit

Permalink
build: use debug=1 back for release (#10345)
Browse files Browse the repository at this point in the history
  • Loading branch information
xxchan authored Jun 15, 2023
1 parent ca41717 commit 26750c9
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 26750c9

Please sign in to comment.