Update MSRV to 1.85
Some checks are pending
CI / wasm_demo (push) Blocked by required conditions
CI / tree-sitter (push) Blocked by required conditions
CI / mcu-embassy (push) Blocked by required conditions
CI / ffi_32bit_build (push) Blocked by required conditions
CI / python_test (windows-2022) (push) Blocked by required conditions
CI / mcu (stm32h735g, thumbv7em-none-eabihf) (push) Blocked by required conditions
CI / files-changed (push) Waiting to run
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, macos-14, stable) (push) Blocked by required conditions
CI / cpp_cmake (ubuntu-22.04, stable) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, 1.85) (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, beta) (push) Blocked by required conditions
autofix.ci / format_fix (push) Waiting to run
autofix.ci / lint_typecheck (push) Waiting to run
CI / fmt_test (push) Blocked by required conditions
CI / esp-idf-quick (push) Blocked by required conditions
CI / android (push) Blocked by required conditions
CI / miri (push) Blocked by required conditions
CI / test-figma-inspector (push) Blocked by required conditions
CI / build_and_test (--exclude ffmpeg --exclude gstreamer-player, windows-2022, stable) (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, 1.85) (push) Blocked by required conditions
CI / docs (push) Blocked by required conditions
CI / build_and_test (ubuntu-22.04, nightly) (push) Blocked by required conditions
CI / node_test (macos-14) (push) Blocked by required conditions
CI / node_test (ubuntu-22.04) (push) Blocked by required conditions
CI / node_test (windows-2022) (push) Blocked by required conditions
CI / python_test (macos-14) (push) Blocked by required conditions
CI / python_test (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (macos-13) (push) Blocked by required conditions
CI / cpp_test_driver (ubuntu-22.04) (push) Blocked by required conditions
CI / cpp_test_driver (windows-2022) (push) Blocked by required conditions
CI / cpp_cmake (macos-14, 1.85) (push) Blocked by required conditions
CI / wasm (push) Blocked by required conditions
CI / cpp_cmake (windows-2022, nightly) (push) Blocked by required conditions
CI / cpp_package_test (push) Blocked by required conditions
CI / vsce_build_test (push) Blocked by required conditions
CI / mcu (pico-st7789, thumbv6m-none-eabi) (push) Blocked by required conditions
CI / mcu (pico2-st7789, thumbv8m.main-none-eabihf) (push) Blocked by required conditions
CI / updater_test (0.3.0) (push) Blocked by required conditions

This commit is contained in:
Olivier Goffart 2025-06-26 22:50:15 +02:00 committed by GitHub
parent fae218fa6b
commit 59ac3ac599
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 16 additions and 23 deletions

View file

@ -47,7 +47,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-22.04, macos-14, windows-2022]
rust_version: [stable, "1.82"]
rust_version: [stable, "1.85"]
include:
- os: windows-2022
extra_args: "--exclude ffmpeg --exclude gstreamer-player"
@ -58,13 +58,10 @@ jobs:
extra_args: "--exclude ffmpeg --exclude gstreamer-player"
- os: ubuntu-22.04
rust_version: "nightly"
# Bevy doesn't compile with 1.82 but requires a newer version
- rust_version: "1.82"
maybe_exclude_bevy: "--exclude bevy-example"
exclude:
- os: macos-14
rust_version: "1.82"
# We already test 1.82 and nightly. Stable is in the middle and already covered by other jobs
rust_version: "1.85"
# We already test 1.85 and nightly. Stable is in the middle and already covered by other jobs
- os: ubuntu-22.04
rust_version: "stable"
@ -97,15 +94,6 @@ jobs:
with:
toolchain: ${{ matrix.rust_version }}
key: x-v3
- name: Pin dependencies to make it build with our MSRV
if: matrix.rust_version == '1.82'
shell: bash
run: |
if [ ! -f ./Cargo.lock ]; then
cargo update -p bytemuck_derive --precise 1.8.1
cargo update -p typed-index-collections --precise 3.2.3
cargo update -p cfg-expr@0.20 --precise 0.17.0
fi
- name: Run tests (not qt)
run: cargo test --verbose --all-features --workspace ${{ matrix.extra_args }} ${{ matrix.maybe_exclude_bevy }} --exclude slint-node --exclude pyslint --exclude test-driver-node --exclude slint-node --exclude test-driver-nodejs --exclude test-driver-cpp --exclude mcu-board-support --exclude mcu-embassy --exclude printerdemo_mcu --exclude uefi-demo --exclude slint-cpp --exclude slint-python -- --skip=_qt::t
env:
@ -271,7 +259,7 @@ jobs:
matrix:
include:
- os: macos-14
rust_version: "1.82"
rust_version: "1.85"
- os: windows-2022
rust_version: "nightly"
- os: ubuntu-22.04

View file

@ -3,6 +3,12 @@
# Changelog
All notable changes to this project are documented in this file.
## [1.13.0] - Unreleased
### Rust
- Minimum Supported Rust Version (MSRV) is 1.85
## [1.12.1] - 2025-06-25
### General

View file

@ -98,7 +98,7 @@ default-members = [
'tools/viewer',
]
resolver = "2"
resolver = "3"
[workspace.package]
description = "GUI toolkit to efficiently develop fluid graphical user interfaces for embedded devices and desktop applications"
@ -109,7 +109,7 @@ homepage = "https://slint.dev"
keywords = ["gui", "toolkit", "graphics", "design", "ui"]
license = "GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0"
repository = "https://github.com/slint-ui/slint"
rust-version = "1.82"
rust-version = "1.85"
version = "1.13.0"
[workspace.dependencies]

View file

@ -33,7 +33,7 @@ You need to install the following components:
* **[Node.js](https://nodejs.org/download/release/)** (v16. or newer)
* **[pnpm](https://www.pnpm.io/)**
* **[Rust compiler](https://www.rust-lang.org/tools/install)** (1.82 or newer)
* **[Rust compiler](https://www.rust-lang.org/tools/install)**
You will also need a few more dependencies, see <https://github.com/slint-ui/slint/blob/master/docs/building.md#prerequisites>

View file

@ -34,7 +34,8 @@ To use Slint with Deno, ensure the following programs are installed:
Slint-node comes with pre-built binaries for macOS, Linux, and Windows. If you'd like to use Slint-node on a system
without pre-built binaries, you need to additional software:
* **[Rust compiler](https://www.rust-lang.org/tools/install)** (1.82 or newer) * Depending on your operating system, you may need additional components. For a list of required system libraries,
* **[Rust compiler](https://www.rust-lang.org/tools/install)**
* Depending on your operating system, you may need additional components. For a list of required system libraries,
see <https://github.com/slint-ui/slint/blob/master/docs/building.md#prerequisites>.
## Getting Started (Node.js)

View file

@ -9,7 +9,7 @@ This page explains how to build and test Slint.
### Installing Rust
Install Rust by following the [Rust Getting Started Guide](https://www.rust-lang.org/learn/get-started). If you already
have Rust installed, make sure that it's at least version 1.82 or newer. You can check which version you have installed
have Rust installed, make sure that it's at least version 1.85 or newer. You can check which version you have installed
by running `rustc --version`.
Once this is done, you should have the `rustc` compiler and the `cargo` build system installed in your path.

View file

@ -8,7 +8,6 @@ edition = "2021"
authors = ["David Haig <david@ninjametal.com>"]
readme = "README.md"
license = "MIT"
resolver = "2"
publish = false
repository = "https://github.com/slint-ui/slint"
homepage = "https://slint.dev"

View file

@ -8,7 +8,6 @@ edition = "2021"
build = "build.rs"
authors = ["David Haig <david@ninjametal.com>"]
readme = "README.md"
resolver = "2"
license = "MIT"
publish = false
repository = "https://github.com/slint-ui/slint"