Skip to content

Allow to set panic='abort' in build-override #12647

Closed as not planned
Closed as not planned

Description

Problem

Currently trying to create a section [profile.dev.build-override] with panic='abort' results in error "panic may not be specified in a build-override profile".

This validation seems to have been added for the test override to make sure tests are not built without panic='unwind' according to discussions in #5384 (comment)

Proposed Solution

Remove unnecessary validation for the build override.

Notes

This issue is a spin-off of #12645

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    C-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions