Skip to content

Commit 1ebd9af

Browse files
committed
fix(ci): bump Rust toolchain to 1.85.0 for edition2024 support
Rust 1.85.0 is the sweet spot: - Supports Cargo.lock v4 format (since Rust 1.78) - Supports edition2024 (stabilized in Rust 1.85) - Avoids the ethnum v1.5.0 transmute bug (appeared in Rust 1.97)
1 parent eacbad8 commit 1ebd9af

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121

2222
- uses: dtolnay/rust-toolchain@stable
2323
with:
24-
toolchain: 1.80.0
24+
toolchain: 1.85.0
2525

2626
- name: Build contracts
2727
run: cd contracts && cargo build --lib
@@ -164,7 +164,7 @@ jobs:
164164

165165
- uses: dtolnay/rust-toolchain@stable
166166
with:
167-
toolchain: 1.80.0
167+
toolchain: 1.85.0
168168

169169
- name: Install cargo-audit
170170
run: cargo install cargo-audit --version 0.21.1 --locked

.github/workflows/security.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118

119119
- uses: dtolnay/rust-toolchain@stable
120120
with:
121-
toolchain: 1.80.0
121+
toolchain: 1.85.0
122122

123123
- name: Install cargo-audit
124124
run: cargo install cargo-audit --version 0.21.1 --locked

contracts/rust-toolchain.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[toolchain]
2-
channel = "1.80.0"
2+
channel = "1.85.0"
33
targets = ["wasm32-unknown-unknown"]

0 commit comments

Comments
 (0)