summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bertschinger <tahbertschinger@gmail.com>2024-05-04 16:18:44 -0400
committerThomas Bertschinger <tahbertschinger@gmail.com>2024-05-07 21:29:32 -0400
commitba0c99ecd9858951549127d405455423c4e471e8 (patch)
tree53c7429a8c5b44adabbfe0ca6a57ba8b99a8afc8
parentb560d96cdf0c3a38c30148ab597a483b323e9d84 (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>
-rw-r--r--Cargo.toml3
1 files changed, 3 insertions, 0 deletions
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"