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

index: Use/Allow alphabetic ordering of features and dependencies #5089

Merged
merged 3 commits into from
Aug 20, 2022

Conversation

Turbo87
Copy link
Member

@Turbo87 Turbo87 commented Aug 17, 2022

This PR was extracted from #5066 to make it independently reviewable and mergeable.

The main purpose of these changes is to match the order that the entries in the index are currently serialized in. This will eventually allow us to recreate the index from a single source of truth (the database) with a minimal diff.

@Turbo87 Turbo87 added C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear A-backend ⚙️ labels Aug 17, 2022
@arlosi
Copy link
Contributor

arlosi commented Aug 18, 2022

There are a few more places that should probably be updated to use BTreeMap for consistency.

See this commit for suggested changes: a7da4a1

@Turbo87 Turbo87 merged commit 7036f3e into rust-lang:master Aug 20, 2022
@Turbo87 Turbo87 deleted the index-order branch August 20, 2022 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-backend ⚙️ C-internal 🔧 Category: Nonessential work that would make the codebase more consistent or clear
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants