Skip to content

rust 1.98 on every Rust lane (macOS 27 rejects cdylibs stripped by rustc <= 1.98.0) - #312

Merged
pablo-rerun merged 1 commit into
mainfrom
rust/1-98
Sep 24, 2026
Merged

pablo-rerun merged 1 commit into
mainfrom
rust/1-98

Conversation

@pablo-rerun

Copy link
Copy Markdown
Collaborator

Companion to / superset of #311 from the Mac session. Pablo picks one; this one carries the whole-workspace lock, which macOS cannot regenerate (AGENTS.md, Platforms & lockfile), and #311's CI is red on pixi lock --check for exactly that reason.

Change

Why

rustc <= 1.98.0 strips Apple release cdylibs with the string pool 4-byte aligned; macOS 27's dyld rejects them ("mis-aligned LINKEDIT string pool", rust-lang/rust#157750, fixed in 1.98.1). The Mac session verified the slam-rs core fails to import at 1.97 and imports at 1.98.1 on a Darwin 27 machine. conda-forge has 1.98.1 for linux-64, linux-aarch64 and osx-arm64.

Verification (pablo-dl-server, linux-64)

  • pixi run -e ci --frozen ci green (ruff, 353 structure tests, lock check).
  • slam-rs-dev gate with rustc 1.98.1: lint, typecheck, deadcode, 309 unit + 15 integration passed.
  • gsplat-rust-renderer-clippy and robocap-recorder-clippy pass on 1.98.1.
  • robocap-cross env installs with rustc 1.98.1 and the aarch64 std target; the ARM build itself needs the cap sysroot and was not run.
  • slam-rs-pkg env rebuilds the recipe with 1.98 and slam-rs-pkg-check passes.
  • Not verified here: a macOS 27 host (the Mac mini is on 26.5). That evidence is in rust 1.98 for the slam-rs recipe and every Rust lane (macOS 27 strip fix) #311.

Gate: slam-rs-dev gate on pablo-dl-server @ ff6d7d8 (pins + lock; the recipe line was added after, re-verified through slam-rs-pkg-check)

…stc <= 1.98.0

rustc up to 1.98.0 leaves LC_SYMTAB's string pool 4-byte aligned when it
strips a release cdylib on Apple targets, and macOS 27's dyld refuses to
load it ("mis-aligned LINKEDIT string pool"; rust-lang/rust#157750, fixed
in 1.98.1). The slam-rs recipe and the gsplat-rust-renderer, slam-rs,
robocap-recorder and robocap-cross features move from 1.97.* to 1.98.*,
including robocap-cross's rust-std-aarch64-unknown-linux-gnu, which must
match rust or the workspace does not lock. Only rust and rust-std packages
change in the lock.
@pablo-rerun
pablo-rerun merged commit 34ee7f4 into main Sep 24, 2026
2 checks passed
@pablo-rerun
pablo-rerun deleted the rust/1-98 branch September 24, 2026 20:48
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.

2 participants