Link canonical native memory intrinsics #115
No reviewers
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/lib-cstd!115
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/native-memory-intrinsics"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Add the opt-in
memory-intrinsicsfeature so native Rust consumers can link the canonical memory implementation through the crate. It suppliesmemcpy,memset,memmoveandmemcmpfrom the existing assembly, with the same instructions and caller-owned range, aliasing and lifetime requirements.The final link selects one memory provider. String operations continue to use their separate companion. The Cargo matrix checks both choices and the actual embedded object, including missing/duplicate-provider refusals.
Needed by the native consumer in Exsh #132.
WIP: Link canonical native memory intrinsicsto Link canonical native memory intrinsicsThe opt-in linkage feature is complete and WIP has been removed. It retains the canonical instruction bodies and exports only the four memory aliases; Exsh’s actual native link also selects that same Cargo-produced object. This does not establish Exsh’s remaining source/type or guest acceptance.