Skip to content

Order grammar summary deterministically - #2346

Merged
traviscross merged 1 commit into
masterfrom
TC/sort-grammar-file-walk
Aug 31, 2026
Merged

Order grammar summary deterministically#2346
traviscross merged 1 commit into
masterfrom
TC/sort-grammar-file-walk

Conversation

@traviscross

Copy link
Copy Markdown
Contributor

In load_grammar, we were walking files in directory-entry order. This may not be the same order in two places, leading to sections and rules sorted in different orders in the grammar summary. Let's sort by file name so as to produce deterministic results.

In `load_grammar`, we were walking files in directory-entry order.
This may not be the same order in two places, leading to sections and
rules sorted in different orders in the grammar summary.  Let's sort
by file name so as to produce deterministic results.
@rustbot rustbot added the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Aug 31, 2026
@traviscross
traviscross enabled auto-merge August 31, 2026 07:41
@traviscross traviscross removed the S-waiting-on-review Status: The marked PR is awaiting review from a maintainer label Aug 31, 2026
@traviscross
traviscross added this pull request to the merge queue Aug 31, 2026
Merged via the queue into master with commit d03701c Aug 31, 2026
7 checks passed
@traviscross
traviscross deleted the TC/sort-grammar-file-walk branch August 31, 2026 07:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants