Skip to content

Commit

Permalink
🎯 Update Rust toolchain to default nightly
Browse files Browse the repository at this point in the history
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 <kevin@srlabs.de>
  • Loading branch information
kevin-valerio committed Sep 5, 2024
1 parent 3719dbe commit d770c75
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.Docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion tests/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d770c75

Please sign in to comment.