Skip to content

Commit 4ff6a7b

Browse files
committed
Update CI Rust version
1 parent 1c3dc7c commit 4ff6a7b

File tree

2 files changed

+17
-17
lines changed

2 files changed

+17
-17
lines changed

.circleci/config.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
# All checks on the codebase that can run in parallel to build_shared_library
88
libwasmvm_sanity:
99
docker:
10-
- image: cimg/rust:1.74.0
10+
- image: cimg/rust:1.81.0
1111
steps:
1212
- checkout
1313
- run:
@@ -18,8 +18,8 @@ jobs:
1818
command: rustup component add rustfmt
1919
- restore_cache:
2020
keys:
21-
- cargocache-v3-libwasmvm_sanity-rust:1.74.0-{{ checksum "libwasmvm/Cargo.lock" }}
22-
- cargocache-v3-libwasmvm_sanity-rust:1.74.0-
21+
- cargocache-v3-libwasmvm_sanity-rust:1.81.0-{{ checksum "libwasmvm/Cargo.lock" }}
22+
- cargocache-v3-libwasmvm_sanity-rust:1.81.0-
2323
- run:
2424
name: Ensure libwasmvm/bindings.h is up-to-date
2525
working_directory: libwasmvm
@@ -62,7 +62,7 @@ jobs:
6262
- libwasmvm/target/release/.fingerprint
6363
- libwasmvm/target/release/build
6464
- libwasmvm/target/release/deps
65-
key: cargocache-v3-libwasmvm_sanity-rust:1.74.0-{{ checksum "libwasmvm/Cargo.lock" }}
65+
key: cargocache-v3-libwasmvm_sanity-rust:1.81.0-{{ checksum "libwasmvm/Cargo.lock" }}
6666

6767
libwasmvm_clippy:
6868
parameters:
@@ -113,15 +113,15 @@ jobs:
113113
command: |
114114
set -o errexit
115115
curl -sS --output rustup-init.exe https://static.rust-lang.org/rustup/dist/x86_64-pc-windows-msvc/rustup-init.exe
116-
./rustup-init.exe --no-modify-path --profile minimal --default-toolchain 1.74.0 -y
116+
./rustup-init.exe --no-modify-path --profile minimal --default-toolchain 1.81.0 -y
117117
echo 'export PATH="$PATH;$USERPROFILE/.cargo/bin"' >> "$BASH_ENV"
118118
- run:
119119
name: Show Rust version information
120120
command: rustc --version; cargo --version; rustup --version
121121
- restore_cache:
122122
keys:
123-
- cachev4-libwasmvm_sanity_windows-rust:1.74.0-{{ checksum "libwasmvm/Cargo.lock" }}
124-
- cachev4-libwasmvm_sanity_windows-rust:1.74.0-
123+
- cachev4-libwasmvm_sanity_windows-rust:1.81.0-{{ checksum "libwasmvm/Cargo.lock" }}
124+
- cachev4-libwasmvm_sanity_windows-rust:1.81.0-
125125
- run:
126126
name: Run unit tests
127127
working_directory: libwasmvm
@@ -133,7 +133,7 @@ jobs:
133133
- libwasmvm/target/debug/.fingerprint
134134
- libwasmvm/target/debug/build
135135
- libwasmvm/target/debug/deps
136-
key: cachev4-libwasmvm_sanity_windows-rust:1.74.0-{{ checksum "libwasmvm/Cargo.lock" }}
136+
key: cachev4-libwasmvm_sanity_windows-rust:1.81.0-{{ checksum "libwasmvm/Cargo.lock" }}
137137

138138
libwasmvm_audit:
139139
docker:
@@ -267,16 +267,16 @@ jobs:
267267

268268
build_shared_library:
269269
docker:
270-
- image: cimg/rust:1.74.0
270+
- image: cimg/rust:1.81.0
271271
steps:
272272
- checkout
273273
- run:
274274
name: Show version information
275275
command: rustc --version; cargo --version; rustup --version
276276
- restore_cache:
277277
keys:
278-
- cargocache-v3-build_shared_library-rust:1.74.0-{{ checksum "libwasmvm/Cargo.lock" }}
279-
- cargocache-v3-build_shared_library-rust:1.74.0-
278+
- cargocache-v3-build_shared_library-rust:1.81.0-{{ checksum "libwasmvm/Cargo.lock" }}
279+
- cargocache-v3-build_shared_library-rust:1.81.0-
280280
- run:
281281
name: Create release build of libwasmvm
282282
command: make build-libwasmvm
@@ -293,7 +293,7 @@ jobs:
293293
- libwasmvm/target/release/.fingerprint
294294
- libwasmvm/target/release/build
295295
- libwasmvm/target/release/deps
296-
key: cargocache-v3-build_shared_library-rust:1.74.0-{{ checksum "libwasmvm/Cargo.lock" }}
296+
key: cargocache-v3-build_shared_library-rust:1.81.0-{{ checksum "libwasmvm/Cargo.lock" }}
297297

298298
# Test the Go project and run benchmarks
299299
wasmvm_test:
@@ -455,7 +455,7 @@ workflows:
455455
matrix:
456456
parameters:
457457
# Run with MSRV and some modern stable Rust
458-
rust-version: ["1.74.0", "1.80.0"]
458+
rust-version: ["1.81.0", "1.82.0"]
459459
- libwasmvm_audit
460460
- format-go
461461
- wasmvm_no_cgo

docs/COMPILER_VERSIONS.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ The Go version here has the following goals:
1515
versions reasonably wide to avoid unnecessary friction for users. I.e. just
1616
because Cosmos SDK now uses Go 1.19 does not mean we make 1.19 the minimal
1717
supported version here. However, the project should work with the latest
18-
stable Go version. When the majority of our users are between 1.18 and 1.19, we
19-
can slowly remove 1.17 support by bumping the min version to 1.18.
18+
stable Go version. When the majority of our users are between 1.18 and 1.19,
19+
we can slowly remove 1.17 support by bumping the min version to 1.18.
2020
- Be stable enough to test Go code. We always pin the patch version to ensure CI
2121
runs are reproducible. Those versions will contain security issues from time
2222
to time, but that's fine for how they are used here.
@@ -64,5 +64,5 @@ We currently use the following version:
6464
| Type | Rust version | Note |
6565
| ------------------------ | ------------ | --------------------------------- |
6666
| Production Rust compiler | 1.82.0 | Builders version 0102 |
67-
| Min Rust compiler | 1.74.0 | Supports builder versions >= 0019 |
68-
| Tooling Rust compiler | 1.75.0 | |
67+
| Min Rust compiler | 1.81.0 | Supports builder versions >= 0101 |
68+
| Tooling Rust compiler | 1.81.0 | |

0 commit comments

Comments
 (0)