diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 232737e8..bc13cae1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 --' } diff --git a/examples/clipboard_native_probe.rs b/examples/clipboard_native_probe.rs index 0872b914..d932a6a2 100644 --- a/examples/clipboard_native_probe.rs +++ b/examples/clipboard_native_probe.rs @@ -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(); } diff --git a/src/platform_impl/mod.rs b/src/platform_impl/mod.rs index 3bfce688..c27bf996 100644 --- a/src/platform_impl/mod.rs +++ b/src/platform_impl/mod.rs @@ -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;