From 331dc3d2416d130ea3f3225abede433f185b966c Mon Sep 17 00:00:00 2001 From: Kerollmops Date: Thu, 13 Mar 2025 11:23:39 +0100 Subject: [PATCH] Add a comment to explain why we keep debug assertions --- Cargo.toml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 73bb265af..320ecfa57 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -36,6 +36,9 @@ license = "MIT" [profile.release] codegen-units = 1 +# We now compile heed without the NDEBUG define for better performance. +# However, we still enable debug assertions for a better detection of +# disk corruption on the cloud or in OSS. [profile.release.package.heed] debug-assertions = true