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"