Duplicate byte strings through the process heap #46

Manually merged
erikinkinen merged 15 commits from feature/heap-owned-string-duplication into feature/native-producer-cleanup-receipts 2026-11-15 02:03:24 +01:00
Owner

Add strdup and strndup with checked terminated extents and independent same-heap ownership. Keep native error reporting on the initialized current EriX thread, preserve successful errno, and expose the same contracts through Rust and partial C/C++ declarations.

Depends on #45. Refs #18. Tracks erix/integration#65.

  • Include the scoped source and contract changes.

  • Use main-tracking dependency declarations, frozen explicit sources and complete the original runtime checks.

Add strdup and strndup with checked terminated extents and independent same-heap ownership. Keep native error reporting on the initialized current EriX thread, preserve successful errno, and expose the same contracts through Rust and partial C/C++ declarations. Depends on #45. Refs #18. Tracks erix/integration#65. - [x] Include the scoped source and contract changes. - [x] Use main-tracking dependency declarations, frozen explicit sources and complete the original runtime checks.
erikinkinen added this to the Alpha 1 milestone 2026-10-30 19:18:47 +01:00
feat: Duplicate byte strings through the process heap
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Failing after 9s
CI / memory (push) Failing after 1m3s
CI / thread (push) Successful in 1m37s
62e375c01e
Add strdup and strndup with checked terminated extents and independent same-heap ownership. Keep native error reporting on the initialized current EriX thread, preserve successful errno, and expose the same contracts through Rust and partial C/C++ declarations.
docs: Repair Markdown paragraph wrapping
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 23s
CI / memory (push) Failing after 56s
CI / thread (push) Successful in 1m8s
e1c9894dae
Keep the original feature prose and all source inputs while correcting
Markdown spacing and line wrapping.
ci: Feed frozen development sources to the native Cargo owner
Some checks failed
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 25s
CI / memory (push) Failing after 50s
CI / thread (push) Successful in 1m3s
39b91d01e8
Resolve shared companion branches before native acceptance and retain the selected snapshot with its helper and query evidence. Keep the published process, instruction and original-source owners unchanged; the existing pipeline acquires exact selected revisions without another branch query.
erikinkinen changed title from WIP: Duplicate byte strings through the process heap to Duplicate byte strings through the process heap 2026-11-15 01:11:22 +01:00
Author
Owner

The prepared branch passes the complete original component pipeline. It retains the original duplication code and same-heap ownership contracts on the corrected startup/source-owner chain.

Ready for human review at 50d7996cecbc0446fd28fb5d953f5085da5ab052; approval of that exact head is pending. The original source branch remains intact. Guest and release-image acceptance remain separate.

The [prepared branch](https://git.erikinkinen.fi/erix/lib-cstd/src/branch/feature/heap-owned-string-duplication-merge-ready-50d7996c) passes the [complete original component pipeline](https://git.erikinkinen.fi/erix/lib-cstd/actions/runs/806). It retains the original duplication code and same-heap ownership contracts on the corrected startup/source-owner chain. Ready for human review at `50d7996cecbc0446fd28fb5d953f5085da5ab052`; approval of that exact head is pending. The original source branch remains intact. Guest and release-image acceptance remain separate.
erikinkinen changed target branch from feature/native-process-startup-exit to feature/native-producer-cleanup-receipts 2026-11-15 02:03:24 +01:00
erikinkinen manually merged commit debbdaa036 into feature/native-producer-cleanup-receipts 2026-11-15 02:03:24 +01:00
Sign in to join this conversation.
No description provided.