rust: bump rust to 1.81 (#10721)

This commit is contained in:
Thomas Coratger
2024-09-05 11:12:07 -07:00
committed by GitHub
parent 60bc403f08
commit fdad74e50d
5 changed files with 8 additions and 8 deletions

View File

@ -89,7 +89,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master - uses: dtolnay/rust-toolchain@master
with: with:
toolchain: "1.80" # MSRV toolchain: "1.81" # MSRV
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with: with:
cache-on-failure: true cache-on-failure: true
@ -132,7 +132,7 @@ jobs:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@master - uses: dtolnay/rust-toolchain@master
with: with:
toolchain: "1.80" # MSRV toolchain: "1.81" # MSRV
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
with: with:
cache-on-failure: true cache-on-failure: true

View File

@ -1,7 +1,7 @@
[workspace.package] [workspace.package]
version = "1.0.6" version = "1.0.6"
edition = "2021" edition = "2021"
rust-version = "1.80" rust-version = "1.81"
license = "MIT OR Apache-2.0" license = "MIT OR Apache-2.0"
homepage = "https://paradigmxyz.github.io/reth" homepage = "https://paradigmxyz.github.io/reth"
repository = "https://github.com/paradigmxyz/reth" repository = "https://github.com/paradigmxyz/reth"

View File

@ -87,7 +87,7 @@ When updating this, also update:
- .github/workflows/lint.yml - .github/workflows/lint.yml
--> -->
The Minimum Supported Rust Version (MSRV) of this project is [1.80.0](https://blog.rust-lang.org/2024/07/25/Rust-1.80.0.html). The Minimum Supported Rust Version (MSRV) of this project is [1.81.0](https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html).
See the book for detailed instructions on how to [build from source](https://paradigmxyz.github.io/reth/installation/source.html). See the book for detailed instructions on how to [build from source](https://paradigmxyz.github.io/reth/installation/source.html).

View File

@ -8,7 +8,7 @@ You can build Reth on Linux, macOS, Windows, and Windows WSL2.
## Dependencies ## Dependencies
First, **install Rust** using [rustup](https://rustup.rs/) First, **install Rust** using [rustup](https://rustup.rs/)
```bash ```bash
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
@ -32,7 +32,7 @@ operating system:
These are needed to build bindings for Reth's database. These are needed to build bindings for Reth's database.
The Minimum Supported Rust Version (MSRV) of this project is 1.80.0. If you already have a version of Rust installed, The Minimum Supported Rust Version (MSRV) of this project is 1.81.0. If you already have a version of Rust installed,
you can check your version by running `rustc --version`. To update your version of Rust, run `rustup update`. you can check your version by running `rustc --version`. To update your version of Rust, run `rustup update`.
## Build Reth ## Build Reth
@ -147,7 +147,7 @@ _(Thanks to Sigma Prime for this section from [their Lighthouse book](https://li
### Bus error (WSL2) ### Bus error (WSL2)
In WSL 2 on Windows, the default virtual disk size is set to 1TB. In WSL 2 on Windows, the default virtual disk size is set to 1TB.
You must increase the allocated disk size for your WSL2 instance before syncing reth. You must increase the allocated disk size for your WSL2 instance before syncing reth.

View File

@ -1,2 +1,2 @@
msrv = "1.80" msrv = "1.81"
too-large-for-stack = 128 too-large-for-stack = 128