diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2022-06-07 22:03:23 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2022-06-08 00:43:44 -0400 |
| commit | 9fa89e735859d008673663b740c217d0731e71e1 (patch) | |
| tree | b99916754d40c24125b7764eeafaec6851c0face /tools | |
| parent | 77f19a9f86b1395f0c74e0860c9466b848a3052f (diff) | |
Move back to stable rust.
`maud`, which was the main reason for nightlies, relies on proc macros. Those are stable in the 2021 edition, and maud 0.23+ uses them in a stable-friendly way.
Diffstat (limited to 'tools')
| -rwxr-xr-x | tools/check-dependencies | 2 | ||||
| -rwxr-xr-x | tools/install-tool-dependencies | 3 | ||||
| -rwxr-xr-x | tools/update-nightly | 8 |
3 files changed, 3 insertions, 10 deletions
diff --git a/tools/check-dependencies b/tools/check-dependencies index 36641e3..b458994 100755 --- a/tools/check-dependencies +++ b/tools/check-dependencies @@ -4,4 +4,4 @@ # # Checks that the dependencies in this project are all in use. -cargo udeps --locked --all-targets +cargo +nightly udeps --locked --all-targets diff --git a/tools/install-tool-dependencies b/tools/install-tool-dependencies index 27a9015..fb4c37c 100755 --- a/tools/install-tool-dependencies +++ b/tools/install-tool-dependencies @@ -5,5 +5,6 @@ # Install Rust and Cargo components used by tool scripts, which are not part of # Cargo.toml. +rustup toolchain install nightly rustup component add clippy rustfmt -cargo install cargo-udeps
\ No newline at end of file +cargo +nightly install cargo-udeps diff --git a/tools/update-nightly b/tools/update-nightly deleted file mode 100755 index 7567110..0000000 --- a/tools/update-nightly +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash -ex - -# tools/update-nightly -# -# Install today's nightly Rust release. - -date "+nightly-%Y-%m-%d" > rust-toolchain -rustup install --profile minimal "$(< rust-toolchain)" |
