From de6332b51e9d4bdf9d3e75a1523ff1cdfb862686 Mon Sep 17 00:00:00 2001 From: Dan Cline <6798349+Rjected@users.noreply.github.com> Date: Mon, 24 Jun 2024 19:01:51 -0400 Subject: [PATCH] fix(ci): inherit profiling in bench profile (#9072) --- Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index ab99f90800ab..5866925dd76a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -236,9 +236,13 @@ codegen-units = 16 # e.g. `cargo build --profile profiling` [profile.profiling] inherits = "release" -debug = 1 +debug = 2 strip = false +# Make sure debug symbols are in the bench profile +[profile.bench] +inherits = "profiling" + [profile.maxperf] inherits = "release" lto = "fat"