From 9e4e546c9e855dfa27a5ce4655704c49c8ef7c9d Mon Sep 17 00:00:00 2001 From: Moudy Date: Fri, 17 Apr 2026 16:10:20 +0200 Subject: [PATCH] ci: reduce debug info in dev/test profiles to avoid LLD OOM --- Cargo.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Cargo.toml b/Cargo.toml index c87cc4a9..5514c300 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -152,6 +152,14 @@ opt-level = 'z' lto = true codegen-units = 1 +# Keep backtraces but drop full DWARF type info to avoid LLD OOM/SIGBUS when +# linking large integration-test binaries on resource-constrained CI runners. +[profile.dev] +debug = "line-tables-only" + +[profile.test] +debug = "line-tables-only" + [workspace.lints.rust] warnings = "deny"