Files
third_party_rust_rustix/.github/actions/install-rust
Dan Gohman dd139fbfaa Update dependency versions. (#438)
Update the github action to node16. And update to memoffset 0.7.1 and
criterion 0.4.
2022-11-07 09:00:19 -08:00
..
2022-11-07 09:00:19 -08:00
2021-11-04 15:16:20 -07:00

install-rust

A small github action to install rustup and a Rust toolchain. This is generally expressed inline, but it was repeated enough in this repository it seemed worthwhile to extract.

Some gotchas:

  • Can't --self-update on Windows due to permission errors (a bug in Github Actions)
  • rustup isn't installed on macOS (a bug in Github Actions)

When the above are fixed we should delete this action and just use this inline:

- run: rustup update $toolchain && rustup default $toolchain
  shell: bash