From 9e12dd06b940bdccb2b686d4bd510a00236d1eab Mon Sep 17 00:00:00 2001 From: Thomas Bertschinger Date: Sun, 14 Jul 2024 14:02:22 -0600 Subject: [PATCH] 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 Signed-off-by: Kent Overstreet --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 9d1756fd6..d56d62721 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"