Skip to content

fix(dist/manifest): sort keys when serializing Manifest#4716

Merged
rami3l merged 1 commit intorust-lang:mainfrom
rami3l:fix/manifest-serialization-order
Feb 15, 2026
Merged

fix(dist/manifest): sort keys when serializing Manifest#4716
rami3l merged 1 commit intorust-lang:mainfrom
rami3l:fix/manifest-serialization-order

Conversation

@rami3l
Copy link
Member

@rami3l rami3l commented Feb 13, 2026

Closes #4715.

This is a quick and dirty fix by manually replacing all HashMap references with BTreeMap when relevant. An additional regression test has been added as well to demonstrate the establishment of what we hope to be the canonical form for the manifest file saved on the disk.

Many thanks again for @loynoir's report and pointers.

@rami3l rami3l requested a review from djc February 13, 2026 20:23
@rami3l rami3l force-pushed the fix/manifest-serialization-order branch from 55adbb1 to f9c4532 Compare February 13, 2026 20:24
@rami3l rami3l force-pushed the fix/manifest-serialization-order branch from f9c4532 to f85dadf Compare February 14, 2026 23:48
@rami3l rami3l enabled auto-merge February 14, 2026 23:48
@rami3l rami3l added this pull request to the merge queue Feb 15, 2026
Merged via the queue into rust-lang:main with commit 0df4054 Feb 15, 2026
29 checks passed
@rami3l rami3l deleted the fix/manifest-serialization-order branch February 15, 2026 00:44
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.

multirust-channel-manifest.toml should have reproducible hash

2 participants