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 option to list available feature gates #45223

Closed

Commits on Oct 12, 2017

  1. --print option to list available feature gates

    The option is only made available on nightly builds, for the obvious
    reason. While we're here, also prevent the unstable `target-spec-json`
    (tracking issue rust-lang#38338) from showing up in the --help on stable builds
    (although the way in which we accomplish this is slightly clumsy for
    lifetime reasons, as noted in the FIXME).
    
    We make REMOVED_FEATURES, ACCEPTED_FEATURES, &c. public for consistency,
    even though the functionality at issue only needs ACTIVE_FEATURES.
    
    The UI test will add a little bit of friction for future feature
    developers, but it's better than under-testing.
    
    Resolves rust-lang#38768.
    zackmdavis committed Oct 12, 2017
    Configuration menu
    Copy the full SHA
    cfe0033 View commit details
    Browse the repository at this point in the history