• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# install-rust
2
3A small github action to install `rustup` and a Rust toolchain. This is
4generally expressed inline, but it was repeated enough in this repository it
5seemed worthwhile to extract.
6
7Some gotchas:
8
9* Can't `--self-update` on Windows due to permission errors (a bug in Github
10  Actions)
11* `rustup` isn't installed on macOS (a bug in Github Actions)
12
13When the above are fixed we should delete this action and just use this inline:
14
15```yml
16- run: rustup update $toolchain && rustup default $toolchain
17  shell: bash
18```
19