Use unpacked debuginfo on macOS CI (#2781)
This shaves ~10 minutes off the testing builder since `dsymutil` is never run and the linker isn't exactly speedy moving around so much debuginfo.
This commit is contained in:
5
.github/actions/install-rust/main.js
vendored
5
.github/actions/install-rust/main.js
vendored
@@ -30,3 +30,8 @@ set_env("CARGO_INCREMENTAL", "0");
|
||||
// Turn down debuginfo from 2 to 1 to help save disk space
|
||||
set_env("CARGO_PROFILE_DEV_DEBUG", "1");
|
||||
set_env("CARGO_PROFILE_TEST_DEBUG", "1");
|
||||
|
||||
if (process.platform === 'darwin') {
|
||||
set_env("CARGO_PROFILE_DEV_SPLIT_DEBUGINFO", "unpacked");
|
||||
set_env("CARGO_PROFILE_TEST_SPLIT_DEBUGINFO", "unpacked");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user