From 9fa89e735859d008673663b740c217d0731e71e1 Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Tue, 7 Jun 2022 22:03:23 -0400 Subject: 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. --- tools/check-dependencies | 2 +- tools/install-tool-dependencies | 3 ++- tools/update-nightly | 8 -------- 3 files changed, 3 insertions(+), 10 deletions(-) delete mode 100755 tools/update-nightly (limited to 'tools') 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)" -- cgit v1.2.3