From a90e5cc9af1fcf7897194ac6a275407dc54db689 Mon Sep 17 00:00:00 2001 From: Alex Macleod Date: Fri, 17 Mar 2023 13:43:32 +0000 Subject: [PATCH] Use split-debuginfo = "unpacked" for debug builds --- .cargo/config.toml | 3 +++ .github/workflows/clippy_bors.yml | 2 ++ 2 files changed, 5 insertions(+) diff --git a/.cargo/config.toml b/.cargo/config.toml index f3dd9275a42b..4d80d3ce63da 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -11,3 +11,6 @@ target-dir = "target" [unstable] binary-dep-depinfo = true + +[profile.dev] +split-debuginfo = "unpacked" diff --git a/.github/workflows/clippy_bors.yml b/.github/workflows/clippy_bors.yml index 24e677ce8e17..93198aabdb5f 100644 --- a/.github/workflows/clippy_bors.yml +++ b/.github/workflows/clippy_bors.yml @@ -180,6 +180,8 @@ jobs: # Run - name: Build Integration Test + env: + CARGO_PROFILE_DEV_SPLIT_DEBUGINFO: off run: cargo test --test integration --features integration --no-run # Upload