From 01906a02bc918c232911e6246d561e07c8b2f4df Mon Sep 17 00:00:00 2001 From: Berkus Decker Date: Thu, 3 Dec 2020 16:48:09 +0200 Subject: [PATCH] Update rust-toolchain file for new rustup Rustup since version 1.23.0 supports more detailed specification. --- .github/workflows/build.yml | 6 +----- rust-toolchain | 5 ++++- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c31d3cc..81ad3ed 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,9 +42,6 @@ jobs: rustc -Vv cargo -Vv - - name: "Install Rustup Components" - run: rustup component add rust-src llvm-tools-preview - - name: "Install build tools" run: cargo install cargo-make cargo-binutils @@ -133,7 +130,6 @@ jobs: timeout-minutes: 10 steps: - uses: actions/checkout@v1 - - run: rustup toolchain install nightly --profile minimal --component clippy - - run: rustup component add rust-src llvm-tools-preview + - run: rustup toolchain install nightly - run: cargo install cargo-make - run: env CLIPPY_FEATURES=${{ matrix.features }} cargo make clippy diff --git a/rust-toolchain b/rust-toolchain index bf867e0..a0d6ea9 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1,4 @@ -nightly +[toolchain] +channel = "nightly" +components = ["clippy", "llvm-tools-preview", "rust-src", "rustfmt"] +targets = ["aarch64-unknown-none-softfloat"]