From c1d89078e14177cfca8bdf78b79c63142e35cb53 Mon Sep 17 00:00:00 2001 From: Bruno Dutra <brunocodutra@gmail.com> Date: Sat, 29 Jun 2024 12:32:50 +0200 Subject: [PATCH] pin toolchain to nightly-2024-06-21 See rust-lang/rust#126552 --- .github/workflows/ci.yml | 13 ------------- rust-toolchain.toml | 3 ++- 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7236623f..b3ca030c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,18 +15,12 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly - with: - components: rustfmt - run: cargo fmt --all -- --check clippy: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly - with: - components: clippy - run: cargo clippy --all-targets --all-features -- -D warnings audit: @@ -72,9 +66,6 @@ jobs: sanitizer: [address, leak, memory, thread] steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly - with: - components: rust-src - run: cargo test --tests --all-features --workspace --target x86_64-unknown-linux-gnu -Zbuild-std -Zunstable-options --config='build.rustflags = ["-Zsanitizer=${{ matrix.sanitizer }}"]' -- --test-threads=1 env: CC: "clang" @@ -113,10 +104,6 @@ jobs: target: x86_64-apple-darwin steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@nightly - with: - components: rust-src - targets: ${{ matrix.target }} - run: sudo apt install -y musl-tools if: runner.os == 'Linux' - run: cargo install --force cargo-make diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 5d56faf9..ac2dca2e 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,3 @@ [toolchain] -channel = "nightly" +channel = "nightly-2024-06-21" +components = ["rust-src"]