From 3ef61d56b84c1f877fe8aab6ec2b1d14a96cd671 Mon Sep 17 00:00:00 2001 From: Robert Remen Date: Fri, 9 Feb 2024 13:00:40 +0100 Subject: [PATCH] bump rust toolchain and relax dependencies to fixed minor version (#5) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # What ❔ This PR bumps the rust toolchain version tonightly-2023-08-21 and relaxes the dependency versions fix to minor version. ## Why ❔ The nightly-2023-08-21 is used by zksync-era repo so it makes sense to use the same version to make sure code in this repo compiles when used by zksync-era. ## Checklist - [x] PR title corresponds to the body of PR (we generate changelog entries from PRs). --- .github/workflows/build.yaml | 6 +++--- criterion-cuda/Cargo.toml | 2 +- cudart-sys/Cargo.toml | 4 ++-- cudart/Cargo.toml | 6 +++--- rust-toolchain.toml | 2 +- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 1f580f4..a95c420 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -37,15 +37,15 @@ jobs: - name: Setup rust run: | rustup set profile minimal - rustup toolchain install nightly-2023-06-25 - rustup default nightly-2023-06-25 + rustup toolchain install nightly-2023-08-21 + rustup default nightly-2023-08-21 - name: Build tests and copy binaries to a separate dir shell: bash run: | mkdir artifacts CARGO_TARGET_DIR=./build \ - cargo +nightly-2023-06-25 test --no-run --release --message-format=json -q \ + cargo +nightly-2023-08-21 test --no-run --release --message-format=json -q \ | jq -r 'select(.executable != null) | .executable' \ | while read binary; do cp "$binary" artifacts/ diff --git a/criterion-cuda/Cargo.toml b/criterion-cuda/Cargo.toml index 097da84..3ba1245 100644 --- a/criterion-cuda/Cargo.toml +++ b/criterion-cuda/Cargo.toml @@ -5,5 +5,5 @@ edition = "2021" license = "MIT OR Apache-2.0" [dependencies] -criterion = "0.4.0" +criterion = "0.4" cudart = { path = "../cudart" } diff --git a/cudart-sys/Cargo.toml b/cudart-sys/Cargo.toml index 42a4f5a..8d4bd1d 100644 --- a/cudart-sys/Cargo.toml +++ b/cudart-sys/Cargo.toml @@ -5,5 +5,5 @@ edition = "2021" license = "MIT OR Apache-2.0" [build-dependencies] -bindgen = "0.69.4" -serde_json = "1.0.113" +bindgen = "0.69" +serde_json = "1.0" diff --git a/cudart/Cargo.toml b/cudart/Cargo.toml index f3b36fd..4f2bd4a 100644 --- a/cudart/Cargo.toml +++ b/cudart/Cargo.toml @@ -6,8 +6,8 @@ license = "MIT OR Apache-2.0" [dependencies] cudart-sys = { path = "../cudart-sys" } -bitflags = "2.4.2" -paste = "1.0.14" +bitflags = "2.4" +paste = "1.0" [dev-dependencies] -serial_test = "3.0.0" +serial_test = "3.0" diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 6b48c00..54fb3e3 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly-2023-06-25" +channel = "nightly-2023-08-21"