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]>
  • Loading branch information
bertschingert committed Jun 2, 2024
1 parent cafd222 commit 62ed2ce
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 @@ -26,3 26,6 @@ byteorder = "1.3"
strum = { version = "0.26", features = ["derive"] }
strum_macros = "0.26"
zeroize = { version = "1", features = ["std", "zeroize_derive"] }

[profile.release]
strip = "none"

0 comments on commit 62ed2ce

Please sign in to comment.