We don't need full debug information but rather line tables (debuginfo=1) should suffice for backtraces if truly necessary. Note that this doesn't actually work on stable Rust just yet due to it being an unrelease feature of Cargo. With the Rust release next week though this'll work on all of stable/beta/nightly.
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-updateon Windows due to permission errors (a bug in Github Actions) rustupisn'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