Support Rust link metadata in native archives #624

Open
erikinkinen wants to merge 2 commits from feature/rust-rlib-metadata-revision into fix/rlib-long-name-diagnostics
Owner

Decode the newer Rust link-metadata wrapper as a closed archive-format revision and require its object names to match the complete CGU roster. Unknown members, bundled native libraries and malformed wrappers remain rejected. Depends on #623.

  • Confirm extraction from the CI compiler’s actual archive.
Decode the newer Rust link-metadata wrapper as a closed archive-format revision and require its object names to match the complete CGU roster. Unknown members, bundled native libraries and malformed wrappers remain rejected. Depends on #623. - [x] Confirm extraction from the CI compiler’s actual archive.
erikinkinen added this to the Alpha 1 milestone 2026-11-09 14:11:12 +01:00
New compiler archives carry a separate excluded link-metadata wrapper. Decode its exact two-vector framing and require its complete unique object roster to match the existing supported native CGUs. Refuse malformed fields, runtime sections, bundled native libraries and unknown members rather than ignoring them; all metadata remains descriptive under the original producing owner and finite work counter.
merge: Retain long-name diagnostics with archive metadata support
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 6s
Coreutils provider graph / coreutils (push) Successful in 2m49s
CI / rust (push) Successful in 4m21s
CI / host_three (push) Failing after 10m12s
CI / host_zero (push) Failing after 12m8s
CI / host_one (push) Failing after 14m25s
CI / host_two (push) Failing after 15m10s
CI / integration (push) Has been skipped
b7cd0483a5
Compose the bounded diagnostic repair with the strict metadata revision so newer compiler output remains observable without accepting unknown archive members.
erikinkinen changed title from WIP: Support Rust link metadata in native archives to Support Rust link metadata in native archives 2026-11-09 14:31:51 +01:00
Author
Owner

Rust link metadata is now supported. The catalog acquisition regression is fixed separately in #625.

Rust link metadata is now supported. The catalog acquisition regression is fixed separately in #625.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
Markdown / markdown (push) Successful in 6s
Coreutils provider graph / coreutils (push) Successful in 2m49s
CI / rust (push) Successful in 4m21s
CI / host_three (push) Failing after 10m12s
CI / host_zero (push) Failing after 12m8s
CI / host_one (push) Failing after 14m25s
CI / host_two (push) Failing after 15m10s
CI / integration (push) Has been skipped
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/rust-rlib-metadata-revision:feature/rust-rlib-metadata-revision'
git switch 'feature/rust-rlib-metadata-revision'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'fix/rlib-long-name-diagnostics'
git merge --no-ff 'feature/rust-rlib-metadata-revision'
git switch 'feature/rust-rlib-metadata-revision'
git rebase 'fix/rlib-long-name-diagnostics'
git switch 'fix/rlib-long-name-diagnostics'
git merge --ff-only 'feature/rust-rlib-metadata-revision'
git switch 'feature/rust-rlib-metadata-revision'
git rebase 'fix/rlib-long-name-diagnostics'
git switch 'fix/rlib-long-name-diagnostics'
git merge --no-ff 'feature/rust-rlib-metadata-revision'
git switch 'fix/rlib-long-name-diagnostics'
git merge --squash 'feature/rust-rlib-metadata-revision'
git switch 'fix/rlib-long-name-diagnostics'
git merge --ff-only 'feature/rust-rlib-metadata-revision'
git switch 'fix/rlib-long-name-diagnostics'
git merge 'feature/rust-rlib-metadata-revision'
git push origin 'fix/rlib-long-name-diagnostics'
Sign in to join this conversation.
No description provided.