From f3ead4caca6a60d87e89efd33bbce5e12fd4c418 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 22 May 2022 20:17:15 +0200 Subject: [PATCH] Add a profiling Cargo profile This is a release build with debug symbols. --- Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index 57e3b15e..efc958b6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -110,3 +110,7 @@ features = [ [profile.release] lto = "thin" strip = "symbols" + +[profile.profiling] +inherits = "release" +debug = true