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

Print a helpful message if unwinding aborts when it reaches a nounwind function #92828

Merged
merged 3 commits into from
Jan 22, 2022

Commits on Jan 17, 2022

  1. Add PanicInfo::can_unwind which indicates whether a panic handler is

    allowed to trigger unwinding.
    Amanieu committed Jan 17, 2022
    Configuration menu
    Copy the full SHA
    528c4f9 View commit details
    Browse the repository at this point in the history
  2. Change TerminatorKind::Abort to call the panic handler instead of

    aborting immediately.
    
    The panic handler is called with a special flag which forces it to abort
    after calling the panic hook.
    Amanieu committed Jan 17, 2022
    Configuration menu
    Copy the full SHA
    fe9dc6e View commit details
    Browse the repository at this point in the history

Commits on Jan 21, 2022

  1. Configuration menu
    Copy the full SHA
    24588e6 View commit details
    Browse the repository at this point in the history