Skip to content

Fix CI: gate Linux-only engine helpers - #13

Merged
DevanMetz merged 2 commits into
mainfrom
fix/ci-lint
Oct 28, 2026
Merged

DevanMetz merged 2 commits into
mainfrom
fix/ci-lint

Conversation

@DevanMetz

Copy link
Copy Markdown
Owner

Non-Linux clippy failed with dead-code errors for ISOLATED_DISPLAY, BackendAttempt and enigo_settings, which only the Linux X11 pointer fallback (and Linux/test code) uses. They are now #[cfg(target_os = "linux")] / #[cfg(any(target_os = "linux", test))], and the EnigoSettings import is Linux-only.

The own-window integration test now includes the app's stdout/stderr when the window never appears, to diagnose the ubuntu-22.04 failure.

Show the app's output when the own-window test cannot find its window.
The own-window test launches the GUI on Xvfb, and winit's X11 backend
panics at startup when libxkbcommon-x11.so is missing, which ubuntu-22.04
runners do not ship.
@DevanMetz
DevanMetz merged commit 297ed27 into main Oct 28, 2026
3 checks passed
@DevanMetz
DevanMetz deleted the fix/ci-lint branch October 28, 2026 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant