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

Unstable updates #9092

Merged
merged 9 commits into from
Jan 21, 2021
Merged

Unstable updates #9092

merged 9 commits into from
Jan 21, 2021

Commits on Jan 21, 2021

  1. Unhide nightly-only flags.

    I changed my mind on how these should work. I think it is useful to
    "advertise" the existence of these options on stable. The error message
    if you try to use it should help guide on what to do.
    ehuss committed Jan 21, 2021
    Configuration menu
    Copy the full SHA
    cf920df View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    73b98ed View commit details
    Browse the repository at this point in the history
  3. Add error message for wrong cargo-features placement.

    This is intended to help if the user puts cargo-features in the
    wrong place in Cargo.toml.
    ehuss committed Jan 21, 2021
    Configuration menu
    Copy the full SHA
    d89a78e View commit details
    Browse the repository at this point in the history
  4. Remove publish-lockfile key from manifest.

    The feature was stabilized without the key in rust-lang#7026 about 1.5 years ago.
    (Will follow up with an error message in a subsequent commit.)
    ehuss committed Jan 21, 2021
    Configuration menu
    Copy the full SHA
    ff349f0 View commit details
    Browse the repository at this point in the history
  5. Add more helpful message with stabilized -Z flags.

    Previously, when something was stabilized, Cargo would spit out a very
    unhelpful error message about an unknown -Z flag. This changes it so
    that it displays a helpful warning (or error).
    ehuss committed Jan 21, 2021
    Configuration menu
    Copy the full SHA
    00615fc View commit details
    Browse the repository at this point in the history
  6. Rework cargo-features a little.

    * Add `removed` support.
    * Include the version where it is stabilized.
    * Include a links to the documentation in the error/warning messages.
    ehuss committed Jan 21, 2021
    Configuration menu
    Copy the full SHA
    7bbef3d View commit details
    Browse the repository at this point in the history
  7. Update the internal documentation on unstable features.

    Attempts to make it clearer on how the different kinds of unstable
    support works, and clarify the steps for adding new features
    and stabilizing.
    ehuss committed Jan 21, 2021
    Configuration menu
    Copy the full SHA
    778b535 View commit details
    Browse the repository at this point in the history
  8. Update the user documentation on unstable features.

    This attempts to make it clearer on the different ways
    unstable features can be activated.
    ehuss committed Jan 21, 2021
    Configuration menu
    Copy the full SHA
    13b0b70 View commit details
    Browse the repository at this point in the history
  9. Add redirects on the unstable docs.

    This adds some redirects so if there are any links to old documentation,
    they will get redirect to new documentation.
    ehuss committed Jan 21, 2021
    Configuration menu
    Copy the full SHA
    a58e7ff View commit details
    Browse the repository at this point in the history