Repository navigation
rust 1.98 on every Rust lane (macOS 27 rejects cdylibs stripped by rustc <= 1.98.0) - #312
Merged
Merged
Conversation
…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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 --checkfor exactly that reason.Change
packages/slam-rs/recipe.yaml: build requirementrust 1.97.*->rust 1.98.*(the rust 1.98 for the slam-rs recipe and every Rust lane (macOS 27 strip fix) #311 change).pixi.toml:rust = "1.98.*"ingsplat-rust-renderer,slam-rs,robocap-recorder,robocap-cross, plusrobocap-cross'srust-std-aarch64-unknown-linux-gnu = "1.98.*", which rust 1.98 for the slam-rs recipe and every Rust lane (macOS 27 strip fix) #311's plan misses and without which the workspace does not lock (rust-std 1.97 constrains rust to 1.97).pixi.lockregenerated on linux-64 withCONDA_OVERRIDE_CUDA=13.0; only rust and rust-std packages changed.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 cigreen (ruff, 353 structure tests, lock check).slam-rs-devgate with rustc 1.98.1: lint, typecheck, deadcode, 309 unit + 15 integration passed.gsplat-rust-renderer-clippyandrobocap-recorder-clippypass on 1.98.1.robocap-crossenv 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-pkgenv rebuilds the recipe with 1.98 andslam-rs-pkg-checkpasses.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)