Repository navigation
Reuse metadata prefixes after dependency hashes change - #389
Open
charliermarsh wants to merge 1 commit into
Open
charliermarsh wants to merge 1 commit into
charliermarsh wants to merge 1 commit into
Conversation
charliermarsh
force-pushed
the
charlie/ohm-29-reuse-metadata-after-dependency-edits
branch
from
November 9, 2026 17:31
ba5130a to
803f000
Compare
charliermarsh
changed the base branch from
charlie/pin-custom-llvm-1.99.0
to
charlie/ohm-29-scope-unreachable-lint-inputs
November 9, 2026 17:32
charliermarsh
marked this pull request as ready for review
November 9, 2026 17:38
charliermarsh
force-pushed
the
charlie/ohm-29-reuse-metadata-after-dependency-edits
branch
from
November 17, 2026 07:31
803f000 to
6773c41
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refreshing the saved metadata prefix saved 2.09% across the 14 rustc processes in the first workspace check after a seven-file uv edit. Six pairs compared stage-1 builds of the −29 source. The warm metadata of all five affected downstream libraries matched their cold outputs. Rustc validates the current dependency roster and rewrites fixed-width hashes only when the remaining fields agree. uv edit
The combined compiler uses incremental format
61341. It includes both the loop-control owner information and the full representation bitset fingerprint, so caches from the released compiler and either individual format go through a fresh build.The signed −29 and combined −30 compilers each rejected the other’s incremental files with matching compiler-version strings. The combined compiler also rejected fixtures carrying headers 61339 and 61340. Each rebuilt program printed
42. All five downstream uv metadata files were byte-identical in native incremental and clean builds of the same edit, with the same Git version fields from uv’s build script.