From 92e3ad289f9ac6c746703f33d387f363a8b6083a Mon Sep 17 00:00:00 2001 From: Tam Nguyen Duc <1218621+tamnd@users.noreply.github.com> Date: Fri, 21 Aug 2026 19:05:25 +0700 Subject: [PATCH] Build on Rust 1.98, the version the rest of zu builds on (#35) tamnd/zu moved to 1.98.0 and toolchains.toml is what says which version every repository holds, so this follows it: the toolchain file, the manifest floor, and the two maturin jobs that name the version themselves because the build container does not read the toolchain file. Nothing in the source needed changing. The 1.98 lint that caught the other repositories, chunks_exact_to_as_chunks, has nothing to fire on here. cargo check, fmt and clippy with -D warnings are clean on 1.98 for the default features and for both of the feature rows CI builds, and pytest is 780 passed, 5 skipped. --- .github/workflows/install.yml | 2 +- .github/workflows/wheels.yml | 2 +- Cargo.toml | 2 +- rust-toolchain.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 56756a4..53b887d 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -79,7 +79,7 @@ jobs: container: ${{ matrix.image }} # Named rather than left to the toolchain file, which the # build container does not read. - rust-toolchain: 1.97.1 + rust-toolchain: 1.98.0 args: --release --out dist -i /opt/python/cp311-cp311/bin/python # A shared object cannot have a static C runtime linked into # it, which is the musl default and a no-op everywhere else. diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 5ac75c2..820bf7d 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -140,7 +140,7 @@ jobs: container: ${{ matrix.image || 'auto' }} # Named rather than left to the toolchain file, which the # build container does not read. - rust-toolchain: 1.97.1 + rust-toolchain: 1.98.0 # The interpreter, named, on the rows that build in a # container. Left to the path everywhere else, where # setup-python above put the row's interpreter first. An diff --git a/Cargo.toml b/Cargo.toml index 0466f3b..e494801 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "zudb-python" version = "0.0.1" edition = "2024" -rust-version = "1.97" +rust-version = "1.98" license = "Apache-2.0" repository = "https://github.com/tamnd/zu-python" authors = ["Tam Nguyen "] diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 45d0ca1..76cc5f5 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -3,5 +3,5 @@ # a different build of the same code. Held to the version in # tamnd/zu's toolchains.toml. [toolchain] -channel = "1.97.1" +channel = "1.98.0" components = ["rustfmt", "clippy"]