Skip to content

Clarification needed in unwinding section #463

Open

Description

@camio

Don't build your programs to unwind under normal circumstances.

It isn't clear what "build your programs to unwind" means. Is this suggesting one should normally not use catch_unwind or that panic='abort' should be used?

Also, it would be helpful to see some examples of abnormal circumstances where unwinding is appropriate.

Activity

  1. ehuss commented on Sep 24, 2024

    @ehuss
    Contributor

    I believe it is saying you should not normally use catch_unwind. Or to put it another way, don't use panics for normal control flow.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions