Skip to content

tools/asahi: fall back to rustc when rustup is absent in G15 tests - #618

Merged
RyanTheTide merged 1 commit into
integration/aurorafrom
hostfix/g15-host-rustc
Oct 30, 2026
Merged

RyanTheTide merged 1 commit into
integration/aurorafrom
hostfix/g15-host-rustc

Conversation

@RyanTheTide

Copy link
Copy Markdown
Contributor

g15-pb-growth-tests.py and g15-stats-drain-tests.py default to rustup run 1.93.1 rustc and die on a host without rustup before testing anything. The pinned toolchain stays the default where rustup exists; otherwise $RUSTC or rustc is used, like the other Rust host tests. The receipt records the version that ran.

Before: FileNotFoundError: ... 'rustup' (both)
After: both PASS, also with --mutations (rustc 1.96).

Evidence (buildbox, python3 -I, logs in aurora-ctl/reports/hostfail-20261030/) on integration/aurora 71b3fdb. The same change passes on aurora-wip 6a42fae, where tools/asahi is identical. Test-only change, no driver code touched.

🤖 Generated with Claude Code

The PB growth and stats drain runners default to 'rustup run 1.93.1
rustc'. On a host without rustup they stop before testing anything.
Keep the pinned toolchain where rustup exists, and otherwise use $RUSTC
or rustc, as the other Rust host tests do. The receipt already records
the compiler version that ran. Both pass, mutations included, with
rustc 1.96.

Assisted-by: LLM
Signed-off-by: Ryan Murray <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@RyanTheTide
RyanTheTide merged commit 50d84da into integration/aurora Oct 30, 2026
@RyanTheTide
RyanTheTide deleted the hostfix/g15-host-rustc branch October 30, 2026 06:23
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