Retain the selected allocation runtime in native service links #537

Open
erikinkinen wants to merge 1 commit from feature/native-alloc-runtime-input into feature/native-allocation-marker
Owner

Ordinary native Rust services now retain and link the selected compiler's target liballoc archive alongside core and compiler_builtins. This resolves actual allocation-runtime references from the Rust hash program.

The existing compiler query selects the target runtime directory, and the original directory/file owners retain all inputs. Missing or ambiguous archives refuse. There is no host search fallback, allocator substitution or relaxation of undefined-symbol checks.

Depends on #535; supports the native Rust workload in #532.

  • Include the actual selected allocation archive in the runtime closure.
  • Cover missing, duplicate and foreign archive-directory selections.
  • Build the matching native SHA2 artifact with #540.
  • Demonstrate matching-image guest execution and teardown.
Ordinary native Rust services now retain and link the selected compiler's target liballoc archive alongside core and compiler_builtins. This resolves actual allocation-runtime references from the Rust hash program. The existing compiler query selects the target runtime directory, and the original directory/file owners retain all inputs. Missing or ambiguous archives refuse. There is no host search fallback, allocator substitution or relaxation of undefined-symbol checks. Depends on #535; supports the native Rust workload in #532. - [x] Include the actual selected allocation archive in the runtime closure. - [x] Cover missing, duplicate and foreign archive-directory selections. - [x] Build the matching native SHA2 artifact with #540. - [ ] Demonstrate matching-image guest execution and teardown.
fix: Retain liballoc in original native runtime inputs
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 12s
Coreutils provider graph / coreutils (push) Successful in 4m19s
CI / rust (push) Successful in 6m51s
CI / host_zero (push) Failing after 14m28s
CI / host_one (push) Failing after 18m33s
CI / host_three (push) Failing after 20m33s
CI / host_two (push) Failing after 21m15s
CI / integration (push) Has been skipped
2e88d43242
Link the selected compiler target allocation archive alongside core and compiler builtins. Keep original directory and file ownership, reject missing or ambiguous archive roles, and preserve final undefined-symbol checks.
erikinkinen added this to the Alpha 1 milestone 2026-11-07 20:18:47 +01:00
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 12s
Coreutils provider graph / coreutils (push) Successful in 4m19s
CI / rust (push) Successful in 6m51s
CI / host_zero (push) Failing after 14m28s
CI / host_one (push) Failing after 18m33s
CI / host_three (push) Failing after 20m33s
CI / host_two (push) Failing after 21m15s
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/native-alloc-runtime-input:feature/native-alloc-runtime-input'
git switch 'feature/native-alloc-runtime-input'

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/native-allocation-marker'
git merge --no-ff 'feature/native-alloc-runtime-input'
git switch 'feature/native-alloc-runtime-input'
git rebase 'feature/native-allocation-marker'
git switch 'feature/native-allocation-marker'
git merge --ff-only 'feature/native-alloc-runtime-input'
git switch 'feature/native-alloc-runtime-input'
git rebase 'feature/native-allocation-marker'
git switch 'feature/native-allocation-marker'
git merge --no-ff 'feature/native-alloc-runtime-input'
git switch 'feature/native-allocation-marker'
git merge --squash 'feature/native-alloc-runtime-input'
git switch 'feature/native-allocation-marker'
git merge --ff-only 'feature/native-alloc-runtime-input'
git switch 'feature/native-allocation-marker'
git merge 'feature/native-alloc-runtime-input'
git push origin 'feature/native-allocation-marker'
Sign in to join this conversation.
No description provided.