Repository navigation
tools: make test-crate works on the stable toolchain - #833
Merged
Merged
Conversation
--unit-graph is nightly-only; since the stable pin it failed with 'the -Z flag is only accepted on the nightly channel'. Run that one read-only query with RUSTC_BOOTSTRAP=1 (as ci/test_no_host_staticlib.py does), scoped to the call so the test build keeps the same fingerprints as make test-fast. The test fake now refuses -Z without it. Co-Authored-By: Claude Opus 5.5 <[email protected]>
RichiL10
added a commit
to RichiL10/plx-native
that referenced
this pull request
Oct 18, 2026
Brings the four upstream commits after the 0.9 base 0b0b220: - plxnative#831 Watchlist: a plex.tv Watchlist tab, catalog page, Detail and hold-menu controls - plxnative#803 input: a click with no control under it is OK after D-pad navigation - plxnative#832 Route: a remux declares the source frame rate in the Load - plxnative#833 tools: make test-crate works on the stable toolchain One conflict, in the rebuilt-route projection of route/decision.rs: upstream now declares `video_copy_fps(&applied.contract, p.src_fps)` where the fork had 0, and clears Dolby Vision where the fork keeps the source's declaration on an HEVC video copy. Resolved with upstream's rate line and the fork's Dolby Vision block, whose else-branch clears Dolby Vision exactly as upstream does. No other fork code sets the stream rate, so every copying remux now follows upstream's rule.
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.
Cause
Since #816 the build is on stable Rust 1.99.1.
tools/test-crate.pyreads the full suite's feature resolution withcargo test --lib --no-run --unit-graph -Z unstable-options;--unit-graphis nightly-only, somake test-cratedied in its first step.Red (before):
Fix
--unit-graphis cargo's only interface to the resolved units, andcargo treecannot reproduce per-unit feature unification exactly (the point is matchingmake test-fast's fingerprints). The repo already acceptsRUSTC_BOOTSTRAP=1for this same read-only query (ci/test_no_host_staticlib.py), so the tool now sets it for that one call only (nothing is compiled; the test build that follows keeps the normal environment).ci/test_test_crate.py's fake cargo now refuses-Zwithout it, plus a test that the bootstrap does not leak into the printed command. The Makefile's other--unit-graphmentions are comments forci/test_*scripts that already set the variable; no other nightly flags found.Green (after),
make test-crate C=plx_media T=seek:make checkon the committed tree (clean before and after): exit 0; the final unit stage printedRan 460 tests ... OK; the cargotest result:lines scrolled out of the captured tail.🤖 Generated with Claude Code