Skip to content

Commit 21ee7e6

Browse files
committed
Prospective CI fix
The new release rustix 1.1.1 fails to compile on android when it's feature "process" is activated. This is enabled by the zbus crate We do not need zbus from i-slint-backend-winit on android (actually we do not usually use that backend on android, but we just compile it there on the CI for the internal docs)
1 parent 0b06b3f commit 21ee7e6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

internal/backends/winit/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ accesskit = { version = "0.20", optional = true }
105105
accesskit_winit = { version = "0.28", optional = true }
106106
copypasta = { version = "0.10", default-features = false }
107107

108-
[target.'cfg(not(any(target_family = "windows", target_vendor = "apple", target_arch = "wasm32")))'.dependencies]
108+
[target.'cfg(not(any(target_family = "windows", target_vendor = "apple", target_arch = "wasm32", target_os = "android")))'.dependencies]
109109
# Use same version and executor as accesskit
110110
zbus = { version = "5.7.0", default-features = false, features = ["async-io"] }
111111
futures = { version = "0.3.31" }

internal/backends/winit/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ fn main() {
1111
enable_femtovg_renderer: { any(feature = "renderer-femtovg", feature = "renderer-femtovg-wgpu") },
1212
enable_accesskit: { all(feature = "accessibility", not(target_arch = "wasm32")) },
1313
supports_opengl: { all(any(enable_skia_renderer, feature = "renderer-femtovg"), not(ios_and_friends)) },
14-
use_winit_theme: { any(target_family = "windows", target_vendor = "apple", target_arch = "wasm32") },
14+
use_winit_theme: { any(target_family = "windows", target_vendor = "apple", target_arch = "wasm32", target_os = "android") },
1515
muda: { all(feature = "muda", any(target_os = "windows", target_os = "macos")) },
1616
}
1717
// This uses `web_sys_unstable_api`, which is typically set via `RUST_FLAGS`

0 commit comments

Comments
 (0)