WIP: Honor selected Cargo dependency aliases in service builds #795

Draft
erikinkinen wants to merge 1 commit from feature/service-cargo-dependency-aliases into feature/consistent-dynlink-compiler-metadata
Owner

Reconcile manifest alias handling from #111 (9401e0f3) with variant-aware object selection. Use the selected manifest alias for rustc and reject ambiguous variants. Release builds of E2fsd and Fatd passed strict artifact metadata checks at bdbf602c.

The stacked heads passed 23 metadata tests and two cache tests. The image build with equivalent changes reached Loaderd compilation and stopped before guest startup. Hosted regression results are pending. Runtime permissions and persistent formats are unchanged.

Reconcile manifest alias handling from #111 (9401e0f3) with variant-aware object selection. Use the selected manifest alias for rustc and reject ambiguous variants. Release builds of E2fsd and Fatd passed strict artifact metadata checks at bdbf602c. The stacked heads passed 23 metadata tests and two cache tests. The image build with equivalent changes reached Loaderd compilation and stopped before guest startup. Hosted regression results are pending. Runtime permissions and persistent formats are unchanged.
erikinkinen added this to the Alpha 1 milestone 2026-11-21 03:18:02 +01:00
fix: Preserve Cargo aliases in dynamic service compilation
Some checks failed
Markdown / markdown (push) Failing after 5s
CI / rust (pull_request) Has been skipped
CI / native_sources (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
Coreutils provider graph / coreutils (push) Successful in 1m46s
CI / rust (push) Successful in 2m42s
CI / native_sources (push) Successful in 10s
CI / host_zero (push) Successful in 10m36s
CI / host_one (push) Successful in 14m9s
CI / host_three (push) Successful in 11m19s
CI / host_two (push) Successful in 11m59s
CI / integration (push) Failing after 3m26s
bdbf602cd6
Use the selected service manifest names for recorded direct shared-object
imports in both package-local library and binary compilation. Retain internal
metadata names for transitive resolution, reject conflicting aliases and
preserve strict metadata consistency and dependency code exclusion.

Fixes #111
Some checks failed
Markdown / markdown (push) Failing after 5s
CI / rust (pull_request) Has been skipped
CI / native_sources (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
Coreutils provider graph / coreutils (push) Successful in 1m46s
CI / rust (push) Successful in 2m42s
CI / native_sources (push) Successful in 10s
CI / host_zero (push) Successful in 10m36s
CI / host_one (push) Successful in 14m9s
CI / host_three (push) Successful in 11m19s
CI / host_two (push) Successful in 11m59s
CI / integration (push) Failing after 3m26s
This pull request is marked as a work in progress.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/service-cargo-dependency-aliases:feature/service-cargo-dependency-aliases'
git switch 'feature/service-cargo-dependency-aliases'

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 'feature/consistent-dynlink-compiler-metadata'
git merge --no-ff 'feature/service-cargo-dependency-aliases'
git switch 'feature/service-cargo-dependency-aliases'
git rebase 'feature/consistent-dynlink-compiler-metadata'
git switch 'feature/consistent-dynlink-compiler-metadata'
git merge --ff-only 'feature/service-cargo-dependency-aliases'
git switch 'feature/service-cargo-dependency-aliases'
git rebase 'feature/consistent-dynlink-compiler-metadata'
git switch 'feature/consistent-dynlink-compiler-metadata'
git merge --no-ff 'feature/service-cargo-dependency-aliases'
git switch 'feature/consistent-dynlink-compiler-metadata'
git merge --squash 'feature/service-cargo-dependency-aliases'
git switch 'feature/consistent-dynlink-compiler-metadata'
git merge --ff-only 'feature/service-cargo-dependency-aliases'
git switch 'feature/consistent-dynlink-compiler-metadata'
git merge 'feature/service-cargo-dependency-aliases'
git push origin 'feature/consistent-dynlink-compiler-metadata'
Sign in to join this conversation.
No description provided.