CI: fix the Windows 32bit GNU, web clippy and example failures

- Windows 32bit GNU (stable, nightly): Rust 1.100 no longer ships host
  tools for i686-pc-windows-gnu, so the toolchain can't be installed
  (upstream dropped the job in rust-windowing/winit 6853ca5e). Only
  stable and nightly are excluded; 1.70.0 still covers the target.
- web clippy (stable): code generated by #[wasm_bindgen] in newer
  wasm-bindgen releases uses const features stable since 1.77, which
  clippy::incompatible_msrv reports against the 1.70 MSRV. Allowed on
  the web module; the MSRV build locks an older wasm-bindgen.
- Android, iOS, Redox: clipboard_native_probe was gated on
  all(unix, not(macos), feature = "wayland"), which those targets match.
  It uses the wayland_platform alias now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
David MannandClaude Opus 5.5 committed 2026-11-27 14:39:02 +01:00
1 parent 3698a67bb7
commit 7ee49d8c02
3 files changed
+14 -3

No files matched your search

+7
View File
@@ -60,6 +60,13 @@ jobs:
- { name: 'iOS Aarch64', target: aarch64-apple-ios, os: macos-latest, }
- { name: 'web', target: wasm32-unknown-unknown, os: ubuntu-latest, }
exclude:
# Rust 1.100 no longer ships host tools for i686-pc-windows-gnu, so the
# stable-i686-pc-windows-gnu and nightly toolchains can't be installed. 1.70.0 still
# covers the target.
- toolchain: stable
platform: { name: 'Windows 32bit GNU' }
- toolchain: nightly
platform: { name: 'Windows 32bit GNU' }
# Android is tested on stable-3
- toolchain: '1.70.0'
platform: { name: 'Android', target: aarch64-linux-android, os: ubuntu-latest, options: '--package=winit --features=android-native-activity', cmd: 'apk --' }
+3 -3
View File
@@ -1,5 +1,5 @@
//! Opt-in native protocol probe; driven by a private compositor, never a user's clipboard.
#[cfg(all(unix, not(target_os = "macos"), feature = "wayland"))]
#[cfg(wayland_platform)]
mod probe {
use std::sync::Arc;
use std::time::{Duration, Instant};
@@ -212,10 +212,10 @@ mod probe {
event_loop.run_app(&mut app).expect("native probe event loop");
}
}
#[cfg(all(unix, not(target_os = "macos"), feature = "wayland"))]
#[cfg(wayland_platform)]
#[path = "util/fill.rs"]
mod fill;
fn main() {
#[cfg(all(unix, not(target_os = "macos"), feature = "wayland"))]
#[cfg(wayland_platform)]
probe::run();
}
+4
View File
@@ -12,6 +12,10 @@ mod macos;
#[cfg(orbital_platform)]
mod orbital;
#[cfg(web_platform)]
// The code `#[wasm_bindgen]` generates in newer wasm-bindgen releases uses `const` features
// stable since Rust 1.77, which clippy reports against the 1.70 MSRV. The MSRV build locks an
// older wasm-bindgen.
#[allow(clippy::incompatible_msrv)]
mod web;
#[cfg(windows_platform)]
mod windows;