Skip to content

Commit

Permalink
include debuginfo in bcachefs binary by default
Browse files Browse the repository at this point in the history
The debuginfo is used by the "bcachefs debug" and "bcachefs list_bkeys"
commands.

Rust 1.77 [1] changed Cargo's release profile to strip debuginfo by default,
but we always want it included.

[1] rust-lang/cargo#13257

Signed-off-by: Thomas Bertschinger <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>
  • Loading branch information
bertschingert authored and Kent Overstreet committed Jul 14, 2024
1 parent 061a9ff commit 9e12dd0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,6 @@ zeroize = { version = "1", features = ["std", "zeroize_derive"] }
version = "0.10"
default-features = false
features = ["auto-color"]

[profile.release]
strip = "none"

0 comments on commit 9e12dd0

Please sign in to comment.