]> git.proxmox.com Git - cargo.git/commit - tests/testsuite/profile_config.rs
Default macOS targets to `unpacked` debuginfo
authorAlex Crichton <alex@alexcrichton.com>
Wed, 24 Mar 2021 21:04:56 +0000 (14:04 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 26 Mar 2021 14:38:17 +0000 (07:38 -0700)
commita4f0988ef87c1dedbeef3d39a85f3caf9241d6e7
tree4ae2fd5d1dea41bc76a255ca5657c8744a15d1ae
parent58a961314437258065e23cb6316dfc121d96fb71
Default macOS targets to `unpacked` debuginfo

This commit continues the work from #9112 to enable `unpacked` split
debuginfo on macOS targets by default. This has been discussed on [internals]
for awhile now and no breakage has emerged while significant speedups
have. This is expected to be a compile-time and `target`-directory size
win for almost all macOS Rust projects.

While breakage is possible it's possible to mitigate this with
project-local or global cargo configuration of the `dev` and `test` profiles.

[internals]: https://internals.rust-lang.org/t/help-test-faster-incremental-debug-macos-builds-on-nightly/14016/9
crates/cargo-test-support/src/lib.rs
src/cargo/core/compiler/standard_lib.rs
src/cargo/core/compiler/unit_dependencies.rs
src/cargo/core/profiles.rs
src/cargo/ops/cargo_compile.rs
src/doc/src/reference/profiles.md
tests/testsuite/profile_config.rs