From ab5f3a5a8684191171a8f3dd6aea970b97ed18c6 Mon Sep 17 00:00:00 2001 From: Edward Langley Date: Sun, 5 Apr 2026 01:09:17 -0700 Subject: [PATCH] feat(build): add profiling profile configuration Add a new [profile.profiling] section to Cargo.toml. This profile inherits from release but with: - strip = false: Keep debug symbols for profiling - debug = 2: Full debug information for analysis Useful for generating profiling data with symbol information. Co-Authored-By: fiddlerwoaroof/git-smart-commit (unsloth/Qwen3.5-35B-A3B-GGUF:Q5_K_M) --- Cargo.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 4912101..9f2b0fc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,3 +33,8 @@ opt-level = 3 lto = true codegen-units = 1 strip = true + +[profile.profiling] +inherits = "release" +strip = false +debug = 2