Repository navigation
Build: stable Rust 1.99.1 for the ARM and host builds, no nightly or build-std - #816
Merged
Merged
Conversation
…uild-std Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
…tly or build-std One toolchain pin, rust-modules/rust-toolchain.toml. The ARM build uses armv7-unknown-linux-gnueabi and its prebuilt ARMv7 std, so no -Z build-std and no rust-src for the build; codegen flags and target are unchanged. - Makefile reads the channel into RUST_TOOLCHAIN and passes +$(RUST_TOOLCHAIN) to every cargo call (a +toolchain on the command line outranks the file); CI reads it through the new .github/actions/rust-toolchain; ci/rust_toolchain.py serves the Python gates. setup-env installs it (setup-rust). HOST_THREADS (-Zthreads) is opt-in and an error on a non-nightly toolchain. - ci/check-vfp.py (make check + CI host-lint) fails when rustc stops honouring the unstable -C target-feature=-soft-float, with a negative control; check-elf.sh repeats the count on the linked binary. - GPL source rebuild names and verifies the stable toolchain; rust-src is bundled only as the corresponding source of the prebuilt std and is not a rebuild input (restore requires the prebuilt std, sysroot copy excludes src). - Notices: toolchain pin and std_lock re-derived from 1.99.1 (compiler_builtins is a path member of std's workspace), generator reads rust-toolchain.toml. - Docs, skills, hooks and comments updated; unit-graph tests use RUSTC_BOOTSTRAP=1 for their read-only -Zunstable-options query. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
…comments, sim builds and root-cwd cargo calls use the pin Co-Authored-By: Claude Opus 5.5 <[email protected]>
GLinnik21
marked this pull request as ready for review
October 16, 2026 14:14
GLinnik21
added a commit
that referenced
this pull request
Oct 16, 2026
…VFP (#821) With stable Rust's prebuilt compiler_builtins, every libm name the app calls (roundf, round, floorf, ceilf, ceil, trunc, fmodf, fmod, cbrtf, sqrtf, sqrt, fma) bound to compiler_builtins' weak soft-float copy, because $(RUST_LIB) preceded -lm; nanosvg's C calls went soft too. -lm now links first, so they resolve to the TV's glibc libm (VFPv3, softfp ABI): soft arithmetic libcalls 57 -> 9 (core's prebuilt float parsing), 0 local libm bodies, 11 math names UND @GLIBC_2.4, VFP counts unchanged, 128 KB smaller, DT_NEEDED unchanged, fwcompat unchanged on every gated release. ci/check-elf.sh now fails on a local libm body or more than 16 soft arithmetic calls (red on the old binary, green on the new; test_check_elf.py 20 OK). Part of #768. Follow-up to #816. Co-Authored-By: Claude Opus 5.5 <[email protected]>
GLinnik21
added a commit
that referenced
this pull request
Oct 16, 2026
The allowlist named cargo +nightly check … --no-default-features; since #816 there is no nightly and AGENTS.md spells the check cargo +$(make -s print-rust-toolchain), so it prompted. The entry now reads cargo +* check …. Part of #768. Co-Authored-By: Claude Opus 5.5 <[email protected]>
danzig666
pushed a commit
to danzig666/plx-native
that referenced
this pull request
Oct 18, 2026
The sideload workflow installed nightly-2026-07-02 for the release-features check and the package build; upstream moved to stable Rust 1.99.1 with the prebuilt armv7 std (plxnative#816), so it now uses ./.github/actions/rust-toolchain and the RUST_TOOLCHAIN that action exports, like ci.yml. The fork's BACK test set up a scrub target; upstream's BACK now cancels a live scrub first (key_back_scrub), so the test starts without one and keeps grading the fork's additions (the jitter gate, the second BACK). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KBgjCe8KH6Nnp3K51Fybrv
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.
Closes #784. Part of #768.
What
The ARM build moves from nightly Rust with
-Z build-stdonarm-unknown-linux-gnueabito stable Rust 1.99.1 onarmv7-unknown-linux-gnueabi, using the prebuilt std.One toolchain pin:
rust-modules/rust-toolchain.toml.-Zthreadsis opt-in (HOST_THREADS) and needs nightly.Codegen flags:
-C target-cpu=cortex-a9 -C target-feature=-neon,-soft-float -C force-frame-pointers=yes.soft-floatis an unstable target feature whose behaviour may change. That is guarded:ci/check-vfp.pycompiles a probe with the Makefile's exact flags and asserts VFP instructions are emitted. It has a negative control and runs inmake checkand CI.ci/check-elf.shchecks the ratio of VFP instructions to__aeabi_*float calls in the linked binary.GPL source rebuild and notices:
build-package.ymlname the pinned toolchain. Rebuilding no longer needs rust-src or build-std.Host checks against the built binary: no CP15 barriers, the same DT_NEEDED, GLIBC symbol versions at most 2.12, and the fwcompat matrix passes. The prebuilt 1.99.1 std has no CP15
mcrbarriers, and 1059 of its 1075 prologues push{…r11, lr}, so the crash walker's frame chain holds.Simulator builds and repo scripts run from the repo root (the Makefile sim targets,
ci/gen-third-party-notices.py,ci/mkmacapp.py,tests/paging_link.py) and now name the pin explicitly.Shipped size (CI ipk artifacts, cross-build, main 635b51a vs this PR):
Verification
--no-default-featurescheck passes on armv7 with 1.99.1.ARM_PROFILE=release, guest + mock, panel off, muted):Boot: no SIGILL; Home at 60 loop/s.
Playback:
pipe_h264_ac3_1080p24.0 fps,pipe_h264_aac_mp424.1,pipe_hevc_eac3_4k_hdr1024.0,pipe_seek_inplace24.4, all with 0 dropped. A mock direct-play title rendered its text subtitle with 0 dropped.FPS, stable vs main (main ran about 30 min later):
hero-pongmisses itsbench_missed_max=0on both builds (5 missed refreshes on stable, 11 on main), so that is not caused by this change.Crash:
crashtest=unwindwalks 11 frames through std's panic path.kill -SEGVof the playing app walks its other threads through std'sthread_start.Not run: the scenes that need a real server, and a picture check (panel off).
Build bench
make build-bench --only noop,leaf,ui,hub,tests,sizes --runs 3, Apple M4, warm, merge-base b88c310 vs cfbd80f. The base front end used-Zthreads(8 threads); stable runs it serially, so the plx_ui rows are not like-for-like.-Zthreadsstays available behindHOST_THREADSon a nightly toolchain. The ARM staticlib row was not run.🤖 Generated with Claude Code