From d770c756af4c141453263bae6f4abc602a6777b8 Mon Sep 17 00:00:00 2001 From: Kevin Valerio Date: Thu, 5 Sep 2024 15:09:37 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=AF=20Update=20Rust=20toolchain=20to?= =?UTF-8?q?=20default=20nightly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Updated the Rust toolchain from a specific nightly version to the general nightly version in multiple files. This change aims to ensure better compatibility and ease of maintenance by always using the latest nightly build available. Signed-off-by: Kevin Valerio --- .github/workflows/rust.yml | 2 +- Dockerfile | 2 +- README.Docker.md | 2 +- tests/docker/Dockerfile | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index d5706d7..ad0f3a3 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -28,7 +28,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: nightly-2024-08-13 + toolchain: nightly components: rustfmt, rust-src override: true diff --git a/Dockerfile b/Dockerfile index f51ea33..4c974e2 100644 --- a/Dockerfile +++ b/Dockerfile @@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && rm -rf /var/lib/apt/lists/* # Set up Rust -RUN rustup default nightly-2024-08-13 \ +RUN rustup default nightly \ && rustup component add rust-src \ && cargo install --force ziggy cargo-afl honggfuzz grcov cargo-contract \ && rustup component add clippy diff --git a/README.Docker.md b/README.Docker.md index 336eba0..bbe39e8 100644 --- a/README.Docker.md +++ b/README.Docker.md @@ -17,7 +17,7 @@ includes: - LLVM 19 and Clang 19 are installed 2. **Setting Up Rust**: - - This Dockerfile sets Rust to nightly version (`nightly-2024-08-13`) to ensure compatibility with Phink's + - This Dockerfile sets Rust to nightly version (`nightly`) to ensure compatibility with Phink's codebase. - Additional Rust components and tools such as `rust-src`, `cargo-afl`, `honggfuzz`, `grcov`, and `cargo-contract` are installed to support fuzzing and coverage instrumentation. diff --git a/tests/docker/Dockerfile b/tests/docker/Dockerfile index 0f8c9c7..3e7ffa2 100644 --- a/tests/docker/Dockerfile +++ b/tests/docker/Dockerfile @@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ && rm -rf /var/lib/apt/lists/* # Set up Rust -RUN rustup default nightly-2024-08-13 \ +RUN rustup default nightly \ && rustup component add rust-src \ && cargo install --force ziggy cargo-afl honggfuzz grcov cargo-contract \ && rustup component add clippy