From 4df588668a1b99752e33e1a50dc472a58b2b65c6 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sun, 4 Dec 2022 12:12:18 +0000 Subject: [PATCH] Bump MSRV to 1.61.0 This is required by `image` crate. Also update current Rust version to 1.65.0. --- .github/workflows/ci.yml | 8 ++++---- Cargo.toml | 2 +- rust-toolchain | 2 +- scripts/coredeps/install-rust.sh | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5fc6407805..5018765e3c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -77,19 +77,19 @@ jobs: include: # Currently used Rust version, same as in `rust-toolchain` file. - os: ubuntu-latest - rust: 1.61.0 + rust: 1.65.0 python: 3.9 - os: windows-latest - rust: 1.61.0 + rust: 1.65.0 python: false # Python bindings compilation on Windows is not supported. - # Minimum Supported Rust Version = 1.57.0 + # Minimum Supported Rust Version = 1.61.0 # # Minimum Supported Python Version = 3.7 # This is the minimum version for which manylinux Python wheels are # built. - os: ubuntu-latest - rust: 1.57.0 + rust: 1.61.0 python: 3.7 runs-on: ${{ matrix.os }} steps: diff --git a/Cargo.toml b/Cargo.toml index 2814f12d42..948e96d679 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ version = "1.102.0" authors = ["Delta Chat Developers (ML) "] edition = "2021" license = "MPL-2.0" -rust-version = "1.57" +rust-version = "1.61" [profile.dev] debug = 0 diff --git a/rust-toolchain b/rust-toolchain index 91951fd8ad..902c74186f 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -1.61.0 +1.65.0 diff --git a/scripts/coredeps/install-rust.sh b/scripts/coredeps/install-rust.sh index b2063da8c0..dcbf30b77f 100755 --- a/scripts/coredeps/install-rust.sh +++ b/scripts/coredeps/install-rust.sh @@ -7,7 +7,7 @@ set -euo pipefail # # Avoid using rustup here as it depends on reading /proc/self/exe and # has problems running under QEMU. -RUST_VERSION=1.61.0 +RUST_VERSION=1.65.0 ARCH="$(uname -m)" test -f "/lib/libc.musl-$ARCH.so.1" && LIBC=musl || LIBC=gnu