fix: Use current atomic update APIs in the runtimes #112

Closed
erikinkinen wants to merge 2 commits from fix/runtime-toolchain-compatibility into fix/retained-rust-probe-dependencies
Owner

Use try_update in the thread and startup runtimes after the selected nightly renamed the atomic update method. Preserve the existing acquisition orderings, overflow checks and once-only state transitions.

Depends on #111.

Use `try_update` in the thread and startup runtimes after the selected nightly renamed the atomic update method. Preserve the existing acquisition orderings, overflow checks and once-only state transitions. Depends on #111.
erikinkinen added this to the Alpha 1 milestone 2026-11-12 19:00:10 +01:00
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.
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 / thread (push) Successful in 1m21s
CI / memory (push) Failing after 3m12s
CI / markdown (push) Successful in 3s
fbe840291f
Use the same standard-library rename for startup binding counts and locale references. Preserve the existing orderings, overflow limits and refusal closures.
Author
Owner

The four atomic API updates are now included in #111 as signed commits d488a053, 5c500e6c. They preserve the existing orderings and state transitions while using the selected SDK’s current method name.

The same compatibility repair is included in #91, #93, #95, #102, #103 and #105. Closing this duplicate PR; its branch remains available for existing references. The changes remain on feature branches awaiting review.

The four atomic API updates are now included in #111 as signed commits [d488a053](https://git.erikinkinen.fi/erix/lib-cstd/commit/d488a0537eb36006078c22916848333fd24daca7), [5c500e6c](https://git.erikinkinen.fi/erix/lib-cstd/commit/5c500e6ca697300e05b81af39370b41dd1a78e3a). They preserve the existing orderings and state transitions while using the selected SDK’s current method name. The same compatibility repair is included in #91, #93, #95, #102, #103 and #105. Closing this duplicate PR; its branch remains available for existing references. The changes remain on feature branches awaiting review.
erikinkinen closed this pull request 2026-11-12 20:01:43 +01:00
Author
Owner

The compatibility fix now uses checked compare-exchange loops because try_update is unstable on the stable toolchain used by CI. This preserves the original orderings, previous generation value and overflow refusals without a feature gate. The correction is included in #111 as signed commit 91f1db69 and in the affected feature branches. This PR remains closed as absorbed.

The compatibility fix now uses checked compare-exchange loops because `try_update` is unstable on the stable toolchain used by CI. This preserves the original orderings, previous generation value and overflow refusals without a feature gate. The correction is included in #111 as signed commit [91f1db69](https://git.erikinkinen.fi/erix/lib-cstd/commit/91f1db6905de56c26d44c8310e97b009cb0793c7) and in the affected feature branches. This PR remains closed as absorbed.
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 1m21s
CI / memory (push) Failing after 3m12s
CI / markdown (push) Successful in 3s

Pull request closed

Sign in to join this conversation.
No description provided.