Skip to content

Conversation

@mgeisler
Copy link
Collaborator

@mgeisler mgeisler commented Nov 1, 2024

The cache is keyed on the Rust version used, so we should update Rust before setting up the cache.

This is a small update to #2449.

The cache is keyed on the Rust version used, so we should update Rust
before setting up the cache.

This is a small update to #2449.
@mgeisler mgeisler requested a review from qwandor November 1, 2024 07:56
@mgeisler
Copy link
Collaborator Author

mgeisler commented Nov 1, 2024

Looking a bit more at rustup, I wonder if we should start using a toolchain file: https://rust-lang.github.io/rustup/overrides.html#the-toolchain-file.

I've never had to do this before, but it seems like it could simplify our setup in a few places? It could perhaps make

matrix:
include:
- directory: src/bare-metal/alloc-example
target: aarch64-unknown-none
- directory: src/bare-metal/aps/examples
target: aarch64-unknown-none
- directory: src/bare-metal/microcontrollers/examples
target: thumbv7em-none-eabihf
- directory: src/exercises/bare-metal/compass
target: thumbv7em-none-eabihf
- directory: src/exercises/bare-metal/rtc
target: aarch64-unknown-none

unnecessary (by moving this into separate toolchain files).

@mgeisler mgeisler merged commit 7f59978 into main Nov 12, 2024
37 checks passed
@mgeisler mgeisler deleted the rustup-before-cache branch November 12, 2024 09:26
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