Skip to content

Commit 260ff1b

Browse files
authored
Merge pull request #538 from CosmWasm/chipshort/update-rust
Increase min rust version to 1.74.0
2 parents 7f97453 + 82579c4 commit 260ff1b

File tree

2 files changed

+15
-15
lines changed

2 files changed

+15
-15
lines changed

.circleci/config.yml

Lines changed: 14 additions & 14 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.73.0
10+
- image: cimg/rust:1.74.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.73.0-{{ checksum "libwasmvm/Cargo.lock" }}
22-
- cargocache-v3-libwasmvm_sanity-rust:1.73.0-
21+
- cargocache-v3-libwasmvm_sanity-rust:1.74.0-{{ checksum "libwasmvm/Cargo.lock" }}
22+
- cargocache-v3-libwasmvm_sanity-rust:1.74.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.73.0-{{ checksum "libwasmvm/Cargo.lock" }}
65+
key: cargocache-v3-libwasmvm_sanity-rust:1.74.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.73.0 -y
116+
./rustup-init.exe --no-modify-path --profile minimal --default-toolchain 1.74.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.73.0-{{ checksum "libwasmvm/Cargo.lock" }}
124-
- cachev4-libwasmvm_sanity_windows-rust:1.73.0-
123+
- cachev4-libwasmvm_sanity_windows-rust:1.74.0-{{ checksum "libwasmvm/Cargo.lock" }}
124+
- cachev4-libwasmvm_sanity_windows-rust:1.74.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.73.0-{{ checksum "libwasmvm/Cargo.lock" }}
136+
key: cachev4-libwasmvm_sanity_windows-rust:1.74.0-{{ checksum "libwasmvm/Cargo.lock" }}
137137

138138
libwasmvm_audit:
139139
docker:
@@ -201,7 +201,7 @@ jobs:
201201
- run:
202202
name: Test package "cosmwasm" without cgo
203203
command: CGO_ENABLED=0 go test .
204-
204+
205205
# Build types and cosmwasm with libwasmvm linking disabled
206206
nolink_libwasmvm:
207207
docker:
@@ -267,16 +267,16 @@ jobs:
267267

268268
build_shared_library:
269269
docker:
270-
- image: cimg/rust:1.73.0
270+
- image: cimg/rust:1.74.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.73.0-{{ checksum "libwasmvm/Cargo.lock" }}
279-
- cargocache-v3-build_shared_library-rust:1.73.0-
278+
- cargocache-v3-build_shared_library-rust:1.74.0-{{ checksum "libwasmvm/Cargo.lock" }}
279+
- cargocache-v3-build_shared_library-rust:1.74.0-
280280
- run:
281281
name: Create release build of libwasmvm
282282
command: make build-rust
@@ -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.73.0-{{ checksum "libwasmvm/Cargo.lock" }}
296+
key: cargocache-v3-build_shared_library-rust:1.74.0-{{ checksum "libwasmvm/Cargo.lock" }}
297297

298298
# Test the Go project and run benchmarks
299299
wasmvm_test:
@@ -448,7 +448,7 @@ workflows:
448448
matrix:
449449
parameters:
450450
# Run with MSRV and some modern stable Rust
451-
rust-version: ["1.73.0", "1.75.0"]
451+
rust-version: ["1.74.0", "1.75.0"]
452452
- libwasmvm_audit
453453
- format-go
454454
- wasmvm_no_cgo

docs/COMPILER_VERSIONS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,5 @@ We currently use the following version:
6464
| Type | Rust version | Note |
6565
| ------------------------ | ------------ | --------------------------------- |
6666
| Production Rust compiler | 1.77.0 | Builders version 0019 |
67-
| Min Rust compiler | 1.73.0 | Supports builder versions >= 0017 |
67+
| Min Rust compiler | 1.74.0 | Supports builder versions >= 0019 |
6868
| Tooling Rust compiler | 1.75.0 | |

0 commit comments

Comments
 (0)