fix: Retain thread ABI ownership for Rust probes #111

Closed
erikinkinen wants to merge 8 commits from fix/retained-rust-probe-dependencies into fix/startup-source-contract
Owner

The thematic Rust probes could not load the C runtime after it gained the thread ABI dependency. Route them through the existing retained dependency owner, which supplies the original extern metadata and dependency directory and checks the held outputs before and after each compiler call.

Covers length, span, substring, end-copy, tokenization, error and C++ header probes. Depends on #103.

The thematic Rust probes could not load the C runtime after it gained the thread ABI dependency. Route them through the existing retained dependency owner, which supplies the original extern metadata and dependency directory and checks the held outputs before and after each compiler call. Covers length, span, substring, end-copy, tokenization, error and C++ header probes. Depends on #103.
erikinkinen added this to the Alpha 1 milestone 2026-11-12 18:28:49 +01:00
fix: Retain thread ABI ownership for every Rust probe
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 / memory (push) Failing after 14m59s
CI / thread (push) Successful in 1m56s
CI / markdown (push) Successful in 20s
3420f7bf9b
Route thematic full-crate callers through the same original dependency owner as their library. Keep the actual extern metadata, dependency directory and fresh output checks throughout each compiler call so transitive crate loading does not fall back to an unowned lookup.
Match the intrinsic expected length directly when selecting the short-copy capacity. The debug callback must preserve its unchanged known and unknown error assertions without acquiring an out-of-line core slice-method dependency.

(cherry picked from commit fc2f4828da)
test: Reject Rust probes after dependency withdrawal
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 / thread (push) Successful in 1m51s
CI / markdown (push) Successful in 22s
CI / memory (push) Failing after 15m6s
0e4a1882d1
Keep the saved compiler command subordinate to the original retained output lifetime. Document the shared dependency boundary and check that a withdrawn receiver refuses before source verification or native invocation.
Keep the existing acquisition orderings and update closures while using the renamed standard-library API. Identifier allocation and join-state claims retain their original exhaustion and once-only behavior without deprecated method warnings.

(cherry picked from commit a233f694aa)
fix: Update startup atomic claims to the current API
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 5s
CI / thread (push) Successful in 1m20s
CI / memory (push) Failing after 3m27s
5c500e6ca6
Use the same standard-library rename for startup binding counts and locale references. Preserve the existing orderings, overflow limits and refusal closures.

(cherry picked from commit fbe840291f)
fix: Keep checked atomic admission compatible with stable Rust
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 4s
CI / thread (push) Successful in 1m16s
CI / memory (push) Failing after 9m40s
91f1db6905
Use compare-exchange loops for generation, borrow, lease and locale reader admission. Preserve the original success and failure orderings, old-value result and overflow refusal without requiring the unstable atomic_try_update API.
Author
Owner

The wide-string core rejection now accepts both GNU and LLVM diagnostic spelling while requiring the exact nineteen missing aliases and rejecting warnings. This retains the actual failed-link and cleanup checks instead of treating any linker error as success. Published in a11d3825.

The wide-string core rejection now accepts both GNU and LLVM diagnostic spelling while requiring the exact nineteen missing aliases and rejecting warnings. This retains the actual failed-link and cleanup checks instead of treating any linker error as success. Published in `a11d3825`.
Accept the GNU and LLVM undefined-reference spellings only after the original clean exit-one native receipt, then require exactly the nineteen conventional wide names and no warnings. Keep all public and hidden semantics, guard faults, source ownership and original deadlines unchanged.
fix: Compare complete undefined wide symbol tokens
All checks were successful
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 3s
CI / thread (push) Successful in 1m20s
CI / memory (push) Successful in 13m0s
a11d38257a
Require horizontal separation and the full LLVM diagnostic token so a suffixed or newline-separated spelling cannot impersonate a conventional alias. Preserve exact symbol-set rejection, native receipt requirements and the unchanged companion instructions.
Author
Owner

The complete file tree at a11d3825 is already present at ced87203 on fix/startup-source-contract. Closing this duplicate PR to avoid integrating the same changes twice. The source branch is retained.

The complete file tree at [a11d3825](https://git.erikinkinen.fi/erix/lib-cstd/commit/a11d38257a55565cfcba6c3707ccb1fef40beb68) is already present at [ced87203](https://git.erikinkinen.fi/erix/lib-cstd/commit/ced872035303c84cb4e82805f0e59a31141a9c06) on `fix/startup-source-contract`. Closing this duplicate PR to avoid integrating the same changes twice. The source branch is retained.
erikinkinen closed this pull request 2026-11-14 00:26:23 +01:00
All checks were successful
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 3s
CI / thread (push) Successful in 1m20s
CI / memory (push) Successful in 13m0s

Pull request closed

Sign in to join this conversation.
No description provided.