]> git.proxmox.com Git - cargo.git/commit
Auto merge of #10495 - ehuss:remove-profile-panic-inherit, r=weihanglo
authorbors <bors@rust-lang.org>
Fri, 25 Mar 2022 07:37:29 +0000 (07:37 +0000)
committerbors <bors@rust-lang.org>
Fri, 25 Mar 2022 07:37:29 +0000 (07:37 +0000)
commitaf8ddf5258c5da4cf1a25ec6002b87b2c493a213
treeea49be2404da387089d2a5c1704a65e7af924b15
parent13662250abdd813755263e0de5623bd314a443db
parente389ff731a9813304b299ccdddfd425c8c27fd13
Auto merge of #10495 - ehuss:remove-profile-panic-inherit, r=weihanglo

Remove unused profile support for -Zpanic-abort-tests

This removes the vestigial `PanicSetting::Inherit` setting.

This was initially introduced in #7460 which added `-Zpanic-abort-tests`. This was needed at the time because `test` and `dev` profiles were separate, but they were inter-mixed when running `cargo test`. That would cause a problem if the unwind/abort settings were mixed.  However, with named profiles, `test` now inherits from `dev`, so this is no longer necessary. Now that named profiles are stable, support for the old form is no longer necessary.