WIP: feat: Bind locale byte comparisons to the native root #617

Draft
erikinkinen wants to merge 1 commit from feature/locale-byte-string-producers into feature/memory-string-family-producers
Owner

Compile strcasecmp and strncasecmp only with the explicit startup feature and the original current-locale process/thread source. Require their conventional and hidden aliases in the startup object and final ELF, retain the character companion, and reject competing runtime-bound definitions in shared objects.

The feature adds no thread storage or native image ABI field. Source and locale records describe the selection; the existing source receivers and runtime retain their original authority and lifetime.

  • Feature admission, source binding and compiler/linker symbol checks.
  • Complete the matching original native root/image acceptance.

Builds on #613. Companion Cstd #95; design Cstd #94.

Compile `strcasecmp` and `strncasecmp` only with the explicit startup feature and the original current-locale process/thread source. Require their conventional and hidden aliases in the startup object and final ELF, retain the character companion, and reject competing runtime-bound definitions in shared objects. The feature adds no thread storage or native image ABI field. Source and locale records describe the selection; the existing source receivers and runtime retain their original authority and lifetime. - [x] Feature admission, source binding and compiler/linker symbol checks. - [ ] Complete the matching original native root/image acceptance. Builds on #613. Companion [Cstd #95](https://git.erikinkinen.fi/erix/lib-cstd/pulls/95); design [Cstd #94](https://git.erikinkinen.fi/erix/lib-cstd/issues/94).
erikinkinen added this to the Alpha 1 milestone 2026-11-08 19:07:12 +01:00
feat: Bind locale byte comparisons to the native root
Some checks failed
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
Markdown / markdown (push) Successful in 20s
CI / rust (push) Failing after 2m35s
Coreutils provider graph / coreutils (push) Successful in 4m15s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
0b662c90cd
Require the original current-locale startup and thread source before compiling the explicit comparison feature. Retain the existing character companion, require both alias surfaces and keep competing rooted definitions out of shared objects.
Some checks failed
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
Markdown / markdown (push) Successful in 20s
CI / rust (push) Failing after 2m35s
Coreutils provider graph / coreutils (push) Successful in 4m15s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
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/locale-byte-string-producers:feature/locale-byte-string-producers'
git switch 'feature/locale-byte-string-producers'

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/memory-string-family-producers'
git merge --no-ff 'feature/locale-byte-string-producers'
git switch 'feature/locale-byte-string-producers'
git rebase 'feature/memory-string-family-producers'
git switch 'feature/memory-string-family-producers'
git merge --ff-only 'feature/locale-byte-string-producers'
git switch 'feature/locale-byte-string-producers'
git rebase 'feature/memory-string-family-producers'
git switch 'feature/memory-string-family-producers'
git merge --no-ff 'feature/locale-byte-string-producers'
git switch 'feature/memory-string-family-producers'
git merge --squash 'feature/locale-byte-string-producers'
git switch 'feature/memory-string-family-producers'
git merge --ff-only 'feature/locale-byte-string-producers'
git switch 'feature/memory-string-family-producers'
git merge 'feature/locale-byte-string-producers'
git push origin 'feature/memory-string-family-producers'
Sign in to join this conversation.
No description provided.