Skip to content

chore(toolchain): upgrade pinned Rust - #90

Merged
mremond merged 1 commit into
mainfrom
infinitary-batch/07d2a1e1
Nov 24, 2026
Merged

mremond merged 1 commit into
mainfrom
infinitary-batch/07d2a1e1

Conversation

@mremond

@mremond mremond commented Nov 24, 2026

Copy link
Copy Markdown
Member

Why

Local development, CI, and release builds should use one current Rust toolchain.

What changed

  • The workspace, CI, release workflow, and setup guides now share the upgraded Rust toolchain.
  • The lexer and runtime satisfy the new compiler's findings while preserving established output behavior.
  • Lowercase handling retains the OTP 29 Unicode checksum under the newer toolchain.
  • The runtime contract test finds package-local Cargo build artifacts and still checks the unsafe call boundary.
  • The active project status now distinguishes the historical pin from the current one.

Before and after

Before: Local setup, CI, release automation, and the active project status all identified the former Rust toolchain.

After: The project now uses a consistent newer Rust pin; 544 native E2E cases passed, two were skipped, and none failed.

This change affects source code, tests, build settings, and setup guidance; it does not change a user-visible screen.

Checked

  • Locked release build: The optimized build completed successfully.
  • Warnings-denied workspace Clippy: All workspace targets passed with warnings denied.
  • Rust workspace tests: The complete workspace test suite passed.
  • Allocator configuration check: The project allocator configuration check passed.
  • Native Erlang E2E suite: 544 passed, zero failed, and two skipped out of 546; lowercase compatibility passed.
  • Stacktrace checks: Both stacktrace ordering and depth checks passed.
How it was checked

`cargo build --release --locked -j 4` — passed.

`cargo clippy --workspace --all-targets --locked -- -D warnings` — passed.

`cargo test --workspace --locked --no-fail-fast` — passed.

`python3 scripts/test-allocator-config.py` — passed.

`./target/release/nera test -j 1 --timeout 30` — 544 passed, zero failed, two skipped out of 546; `string_lowercase` passed.

`python3 scripts/test-stacktrace-order.py` — ordering and depth checks passed.

`cargo test -p nera-runtime --test exit_signal_contract --locked -- --exact raw_exit_scan_requires_an_unsafe_call` — the test failed with its expected assertion after its source adapter was deliberately made safe, then passed ten consecutive runs after restoration.

`git diff --check` — passed.

Risk

Risk above low: Blast radius, medium — The local toolchain and CI/release configuration are project-wide.; Novelty, medium — A small Unicode compatibility shim is new runtime behavior.

Full risk assessment
Dimension Level Why
Blast radius medium The local toolchain and CI/release configuration are project-wide.
Behavior low The runtime change preserves OTP-compatible lowercase output.
Undo low A single commit reverts the upgrade and compatibility fixes.
Evidence low Strict Rust checks, workspace tests, and the native suite passed.
Sensitivity low No credentials, customer data, or signing material were used.
Novelty medium A small Unicode compatibility shim is new runtime behavior.
Dependencies low The lockfile and dependency set remain unchanged.
Not done

Hosted queue checks still need to run after the change enters its batch.

The workspace, CI, release workflow, and setup guides now share the upgraded Rust toolchain.

The lexer and runtime satisfy the new compiler's findings while preserving established output behavior.

Lowercase handling retains the OTP 29 Unicode checksum under the newer toolchain.

The runtime contract test finds package-local Cargo build artifacts and still checks the unsafe call boundary.

The active project status now distinguishes the historical pin from the current one.
@github-actions github-actions Bot added this to the 0.1.1 milestone Nov 24, 2026
@mremond
mremond merged commit fab4e1b into main Nov 24, 2026
22 checks passed
@mremond
mremond deleted the infinitary-batch/07d2a1e1 branch November 24, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant