-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #12182 - Muscraft:sort-unstable-z-flags, r=epage
chore: Lexicographically order `-Z` flags When looking at [`unstable_cli_options!`](https://github.com/rust-lang/cargo/blob/6ec9649372a3d03958d15e96bdbf078ee50a2a71/src/cargo/core/features.rs#L693), I noticed a comment about keeping the list ["lexicographically ordered"](https://github.com/rust-lang/cargo/blob/6ec9649372a3d03958d15e96bdbf078ee50a2a71/src/cargo/core/features.rs#L699), and saw that it wasn't ordered correctly. This PR orders the list of unstable features within [`unstable_cli_options!`](https://github.com/rust-lang/cargo/blob/6ec9649372a3d03958d15e96bdbf078ee50a2a71/src/cargo/core/features.rs#L693) lexicographically. To review this PR, it would probably be easiest to read the list [from my branch](https://github.com/Muscraft/cargo/blob/765e8867893f1083152a67a1c447408e3458c90e/src/cargo/core/features.rs#L693).
- Loading branch information
Showing
1 changed file
with
11 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters