From a56122e1448ce6022a8a1be08167f94c6498fc66 Mon Sep 17 00:00:00 2001 From: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com> Date: Tue, 21 Oct 2025 08:53:45 +0200 Subject: [PATCH] ci: Do not use full debug info in CI builds (#40764) For good backtraces in tests 'limited' is all we need. Closes #ISSUE Release Notes: - N/A --- .cargo/ci-config.toml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.cargo/ci-config.toml b/.cargo/ci-config.toml index d5e312c2429ad8a4fa933d4080c8fcde217bd6eb..a18554fd6e119010c5692da0be62428d3ea2a342 100644 --- a/.cargo/ci-config.toml +++ b/.cargo/ci-config.toml @@ -11,6 +11,10 @@ [target.'cfg(all())'] rustflags = ["-D", "warnings"] +# We don't need fullest debug information for dev stuff (tests etc.) in CI. +[profile.dev] +debug = "limited" + # Use Mold on Linux, because it's faster than GNU ld and LLD. # # We no longer set this in the default `config.toml` so that developers can opt in to Wild, which