Link the native Cstd memory provider #143

Open
erikinkinen wants to merge 2 commits from feature/native-cstd-memory-provider into feature/cleanup-native-feature-selections
Owner

Link Cstd’s opt-in memory-intrinsics provider into the x86-64 freestanding shell. The dependency follows main, disables default features and is requested through exsh-runtime.

The provider supplies memcpy, memset, memmove and memcmp without acquiring services or memory authority. The linked implementation must match the provider compiled in the same Cargo unit; source validity, arena lifetime and frame bounds remain separate obligations.

  • Select the native provider before compilation.
  • Verify the strong exports and exact provider bytes in all three native feature variants.
  • Preserve debug/release package bindings and reject altered provider bytes or weak exports.

Depends on #142, lib-cstd#115 and integration#518. Full shell frame and guest acceptance remain tracked by the existing consumer work.

Link Cstd’s opt-in memory-intrinsics provider into the x86-64 freestanding shell. The dependency follows main, disables default features and is requested through exsh-runtime. The provider supplies memcpy, memset, memmove and memcmp without acquiring services or memory authority. The linked implementation must match the provider compiled in the same Cargo unit; source validity, arena lifetime and frame bounds remain separate obligations. - [x] Select the native provider before compilation. - [x] Verify the strong exports and exact provider bytes in all three native feature variants. - [x] Preserve debug/release package bindings and reject altered provider bytes or weak exports. Depends on #142, lib-cstd#115 and integration#518. Full shell frame and guest acceptance remain tracked by the existing consumer work.
feat: Link canonical memory intrinsics in the native shell
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / rust (push) Failing after 20m0s
67544b3b95
Request the optional Cstd memory-intrinsics provider only for the freestanding runtime, with default dependency features disabled. Retain its actual assembly in the shell Cargo link while keeping parser-only and hosted builds independent of native exports. Source selection and readable or writable memory authority remain separate.
erikinkinen added this to the Alpha 1 milestone 2026-11-14 07:52:23 +01:00
fixup! ci: Supply private descriptor fixture inputs
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / rust (push) Failing after 19m34s
5f2c99c12e
Retire the original gated actor after a provably incomplete PREPARE publication. A returned native send records its byte extent before clearing its attempting flag, so a partial original frame cannot authorize probe births. Preserve uncertainty for interrupted sends, complete frames and foreign or contradictory journals; retain the original timeout and actual native reap.
Author
Owner

Carried over the published startup-custody correction from #127. A returned send that proves the original PREPARE frame was incomplete can retire and reap the original gated actor. Complete frames, interrupted sends and contradictory or foreign journals still retain uncertainty; the original timeout remains the failure.

All 1,618 descriptor tests pass. The six native frame checks remain blocked by their existing 60-second deadline; this does not resolve the performance work.

Carried over the published startup-custody correction from #127. A returned send that proves the original PREPARE frame was incomplete can retire and reap the original gated actor. Complete frames, interrupted sends and contradictory or foreign journals still retain uncertainty; the original timeout remains the failure. All 1,618 descriptor tests pass. The six native frame checks remain blocked by their existing 60-second deadline; this does not resolve the performance work.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / rust (push) Failing after 19m34s
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-cstd-memory-provider:feature/native-cstd-memory-provider'
git switch 'feature/native-cstd-memory-provider'

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/cleanup-native-feature-selections'
git merge --no-ff 'feature/native-cstd-memory-provider'
git switch 'feature/native-cstd-memory-provider'
git rebase 'feature/cleanup-native-feature-selections'
git switch 'feature/cleanup-native-feature-selections'
git merge --ff-only 'feature/native-cstd-memory-provider'
git switch 'feature/native-cstd-memory-provider'
git rebase 'feature/cleanup-native-feature-selections'
git switch 'feature/cleanup-native-feature-selections'
git merge --no-ff 'feature/native-cstd-memory-provider'
git switch 'feature/cleanup-native-feature-selections'
git merge --squash 'feature/native-cstd-memory-provider'
git switch 'feature/cleanup-native-feature-selections'
git merge --ff-only 'feature/native-cstd-memory-provider'
git switch 'feature/cleanup-native-feature-selections'
git merge 'feature/native-cstd-memory-provider'
git push origin 'feature/cleanup-native-feature-selections'
Sign in to join this conversation.
No description provided.