Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make TerminatorKind::Abort an error in all const contexts #77460

Closed

Commits on Oct 2, 2020

  1. Make TerminatorKind::Abort an error in all contexts

    I'm not too up-to-date on FFI-unwind stuff, but `Abort` denotes that
    panics inside function calls (usually across an FFI boundary) will abort
    immediately. These semantics are not supported by Miri, and I don't
    think you can even enable them on the current stable. Forbid them in all
    const-contexts before that last part changes.
    ecstatic-morse committed Oct 2, 2020
    Configuration menu
    Copy the full SHA
    113cf42 View commit details
    Browse the repository at this point in the history