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

add a panic-strategy field to the target specification #36794

Merged
merged 2 commits into from
Sep 29, 2016

Commits on Sep 28, 2016

  1. add a panic-strategy field to the target specification

    Now a target can define its panic strategy in its specification. If a
    user doesn't specify a panic strategy via the command line, i.e. '-C
    panic', then the compiler will use the panic strategy defined by the
    target specification.
    
    Custom targets can pick their panic strategy via the "panic-strategy"
    field of their target specification JSON file. If omitted in the
    specification, the strategy defaults to "unwind".
    
    closes rust-lang#36647
    Jorge Aparicio committed Sep 28, 2016
    Configuration menu
    Copy the full SHA
    cbb967f View commit details
    Browse the repository at this point in the history
  2. fix librustc test: panic is Option<PanicStrategy> now

    Jorge Aparicio committed Sep 28, 2016
    Configuration menu
    Copy the full SHA
    8a46e78 View commit details
    Browse the repository at this point in the history