Skip to content

Commit

Permalink
Update docs on updating CliUnstable.
Browse files Browse the repository at this point in the history
  • Loading branch information
ehuss committed Apr 20, 2021
1 parent 4f8f80d commit 1cbfced
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/cargo/core/features.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
//! get an instance of `CliUnstable` and check if the option has been
//! enabled on the `CliUnstable` instance. Nightly gating is already
//! handled, so no need to worry about that.
//! 4. Update the `-Z help` documentation in the `main` function.
//!
//! ## Stabilization
//!
Expand All @@ -83,9 +82,9 @@
//! 2. `-Z unstable-options`: Find the call to `fail_if_stable_opt` and
//! remove it. Be sure to update the man pages if necessary.
//! 3. `-Z` flag: Change the parsing code in [`CliUnstable::add`] to call
//! `stabilized_warn` or `stabilized_err`. Remove it from the `-Z help`
//! docs in the `main` function. Remove the `(unstable)` note in the
//! clap help text if necessary.
//! `stabilized_warn` or `stabilized_err` and remove the field from
//! `CliUnstable. Remove the `(unstable)` note in the clap help text if
//! necessary.
//! 2. Remove `masquerade_as_nightly_cargo` from any tests, and remove
//! `cargo-features` from `Cargo.toml` test files if any.
//! 3. Remove the docs from unstable.md and update the redirect at the bottom
Expand Down

0 comments on commit 1cbfced

Please sign in to comment.