summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/check-dependencies2
-rwxr-xr-xtools/install-tool-dependencies3
-rwxr-xr-xtools/update-nightly8
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)"