Skip to content

Commit

Permalink
chore: split full debug info for release build (#12255)
Browse files Browse the repository at this point in the history
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
  • Loading branch information
BugenZhao authored Sep 15, 2023
1 parent a99e6f3 commit 7baa27f
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 46 deletions.
82 changes: 41 additions & 41 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ members = [
resolver = "2"

[workspace.package]
version = "1.1.0-alpha"
version = "1.3.0-alpha"
edition = "2021"
homepage = "https://github.com/risingwavelabs/risingwave"
keywords = ["sql", "database", "streaming"]
Expand Down Expand Up @@ -177,8 +177,9 @@ redundant_explicit_links = "allow"
lto = 'off'

[profile.release]
debug = 1
lto = 'thin'
debug = "full"
split-debuginfo = "packed"
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
Expand All @@ -187,6 +188,7 @@ lto = 'thin'
inherits = "release"
incremental = false
debug = "line-tables-only"
split-debuginfo = "off"
debug-assertions = true
overflow-checks = true

Expand Down
Loading

0 comments on commit 7baa27f

Please sign in to comment.