Skip to content

Consider all installed toolchains in cache key#293

Merged
Swatinem merged 2 commits intoSwatinem:masterfrom
tamird:rust-all-versions
Dec 16, 2025
Merged

Consider all installed toolchains in cache key#293
Swatinem merged 2 commits intoSwatinem:masterfrom
tamird:rust-all-versions

Conversation

@tamird
Copy link
Contributor

@tamird tamird commented Dec 9, 2025

  • Remove a few synchronous FS interactions
  • Consider all installed toolchains in cache key

This solves an issue we see in github.com/aya-rs/aya -- that project and
projects that use it often need a stable toolchain for the userspace side and a
nightly toolchain for eBPF (since it is a tier 3 target at the moment).

The current behavior before this PR results in a cache key derived from
whichever toolchain is installed last producing problems such as the one we
addressed in
aya-rs/aya@c0fdbae.
Unfortunately our other workflows still install multiple toolchains; we can of
course work around this locally, but it seems better to resolve upstream. See
aya-rs/aya#1409 (review).

@Swatinem Swatinem merged commit 5e4a767 into Swatinem:master Dec 16, 2025
33 checks passed
@tamird tamird deleted the rust-all-versions branch December 16, 2025 12:12
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