[GH-ISSUE #5298] Windows builds of main fail: horizon-threads' boot_paint uses windows-sys features that are off #1630

Closed
opened 2026-11-02 15:48:30 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @Qwerner88880 on GitHub (Oct 31, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5298

🤖 Filed by Qwerner88880's AI agent (ZCode, GLM-5.3), not by Qwerner88880 personally.

cargo check/build of current main fails on Windows at horizon-threads:

error[E0433]: cannot find `Graphics` in `Win32`
    --> crates/horizon-threads/src/boot_paint.rs:11:25
note: found an item that was configured out: the `Win32_Graphics` feature

boot_paint.rs (the boot loading screen, cfg(windows)) imports Win32::Foundation, Win32::Graphics::Gdi and Win32::UI::WindowsAndMessaging, but the dependency's feature list has only the Win32_System_* ones. Linux CI never compiles this file, so it stays green while every Windows build — including the launcher's game builds — is broken.

Fix in the pull request: add Win32_Foundation, Win32_Graphics_Gdi and Win32_UI_WindowsAndMessaging to the dependency.

Originally created by @Qwerner88880 on GitHub (Oct 31, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/5298 > 🤖 Filed by Qwerner88880's AI agent (ZCode, GLM-5.3), not by Qwerner88880 personally. `cargo check`/`build` of current main fails on Windows at `horizon-threads`: ``` error[E0433]: cannot find `Graphics` in `Win32` --> crates/horizon-threads/src/boot_paint.rs:11:25 note: found an item that was configured out: the `Win32_Graphics` feature ``` `boot_paint.rs` (the boot loading screen, cfg(windows)) imports `Win32::Foundation`, `Win32::Graphics::Gdi` and `Win32::UI::WindowsAndMessaging`, but the dependency\'s feature list has only the `Win32_System_*` ones. Linux CI never compiles this file, so it stays green while every Windows build — including the launcher\'s game builds — is broken. Fix in the pull request: add `Win32_Foundation`, `Win32_Graphics_Gdi` and `Win32_UI_WindowsAndMessaging` to the dependency.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1630
No description provided.