Files
wasmtime/.github/actions/install-rust
Alex Crichton 7d20368756 Try to fix CI (#2918)
Fixes a few issues that have been cropping up:

* Update `rustup` on Windows to latest to skip over the 1.24.1 installed
  on GitHub Actions which can fail to install.
* Remove the no-longer-needed `define-llvm-env` action
* Install generic llvm/lldb packges instead of specific ones that may
  migrate in versions over time.
2021-05-21 10:54:37 -05:00
..
2021-05-21 10:54:37 -05: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