From ba0c99ecd9858951549127d405455423c4e471e8 Mon Sep 17 00:00:00 2001 From: Thomas Bertschinger Date: Sat, 4 May 2024 16:18:44 -0400 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 --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 1efc66be..b8961692 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,3 +27,6 @@ gimli = "0.29.0" object = "0.35.0" memmap2 = "0.9.4" nom = "7.1.3" + +[profile.release] +strip = "none"