From c9c260ca08e24bfbdc5da6671ba37189b331dd1e Mon Sep 17 00:00:00 2001 From: daxpedda Date: Tue, 23 Jul 2024 13:46:35 +0200 Subject: [PATCH] Exclude Redox OS from the MSRV policy (#3811) Redox OS requires a Rust nightly toolchain to compile at the moment. --- .github/workflows/ci.yml | 3 +++ README.md | 5 ++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d09f505b..ae77befd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -66,6 +66,9 @@ jobs: # Android is tested on stable-3 - toolchain: '1.73' platform: { name: 'Android', target: aarch64-linux-android, os: ubuntu-latest, options: '--package=winit --features=android-native-activity', cmd: 'apk --' } + # Redox OS doesn't follow MSRV + - toolchain: '1.73' + platform: { name: 'Redox OS', target: x86_64-unknown-redox, os: ubuntu-latest } include: - toolchain: '1.73' platform: { name: 'Android', target: aarch64-linux-android, os: ubuntu-latest, options: '--package=winit --features=android-native-activity', cmd: 'apk --' } diff --git a/README.md b/README.md index 17870382..e5be2045 100644 --- a/README.md +++ b/README.md @@ -50,12 +50,15 @@ Where `sid` is the current version of `rustc` provided by [Debian Sid], and [Debian Sid]: https://packages.debian.org/sid/rustc -The exception is for the Android platform, where a higher Rust version +An exception is made for the Android platform, where a higher Rust version must be used for certain Android features. In this case, the MSRV will be capped at the latest stable version of Rust minus three. This inconsistency is not reflected in Cargo metadata, as it is not powerful enough to expose this restriction. +Redox OS is also not covered by this MSRV policy, as it requires a Rust nightly +toolchain to compile. + All crates in the [`rust-windowing`] organizations have the same MSRV policy.