summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bertschinger <tahbertschinger@gmail.com>2024-07-14 14:02:22 -0600
committerKent Overstreet <kent.overstreet@linux.dev>2024-07-14 16:20:17 -0400
commit9e12dd06b940bdccb2b686d4bd510a00236d1eab (patch)
tree7900eeed9e09558d1323f27cbf6c2fe8a24963a6
parent061a9ff2a34f8e351714be28ce62eff1d6fa3539 (diff)
include debuginfo in bcachefs binary by default
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] https://github.com/rust-lang/cargo/pull/13257 Signed-off-by: Thomas Bertschinger <tahbertschinger@gmail.com> Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
-rw-r--r--Cargo.toml3
1 files changed, 3 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 9d1756fd..d56d6272 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -30,3 +30,6 @@ zeroize = { version = "1", features = ["std", "zeroize_derive"] }
version = "0.10"
default-features = false
features = ["auto-color"]
+
+[profile.release]
+strip = "none"