[PR #5299] [MERGED] horizon-threads: turn on the windows-sys features boot_paint uses #6194

Closed
opened 2026-11-03 06:15:45 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5299
Author: @Qwerner88880
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @ludovic111

Base: main ← Head: win-features-fix


📝 Commits (2)

  • c1efef9 horizon-threads: turn on the windows-sys features boot_paint uses
  • 8a5e34b Merge main into #5299 (windows-sys features: main's System_Console beside this PR's Gdi/UI)

📊 Changes

2 files changed (+3 additions, -3 deletions)

View changed files

📝 crates/horizon-threads/Cargo.toml (+1 -1)
📝 crates/horizon-threads/src/boot_paint.rs (+2 -2)

📄 Description

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

What and why

Fixes #5298. boot_paint.rs (the boot loading screen, cfg(windows)) imports Win32::Foundation, Win32::Graphics::Gdi and Win32::UI::WindowsAndMessaging, but the windows-sys dependency's feature list has only the Win32_System_* ones, so every Windows build of current main fails at horizon-threads with E0433 ("configured out"). Linux CI never compiles this file, which is why it stayed green.

The fix adds the three features the file imports.

Kind

  • bug: a crash or a breakage

Vanilla reference

none (build configuration)

Other projects' code

none

Tested

cargo check -p horizon-threads fails on main on Windows and passes here; the crate's non-Windows path is untouched.

Self-check

One dependency line; no code, no lockfile change.

🤖 Generated with ZCode (GLM-5.3)


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/5299 **Author:** [@Qwerner88880](https://github.com/Qwerner88880) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `win-features-fix` --- ### 📝 Commits (2) - [`c1efef9`](https://github.com/horizon-rust/horizon/commit/c1efef9859cc0b901f66df8d32ec53a4ac34dc6e) horizon-threads: turn on the windows-sys features boot_paint uses - [`8a5e34b`](https://github.com/horizon-rust/horizon/commit/8a5e34b4850961d97fdcefc72a2aa00d7c90c4df) Merge main into #5299 (windows-sys features: main's System_Console beside this PR's Gdi/UI) ### 📊 Changes **2 files changed** (+3 additions, -3 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-threads/Cargo.toml` (+1 -1) 📝 `crates/horizon-threads/src/boot_paint.rs` (+2 -2) </details> ### 📄 Description > 🤖 Opened by Qwerner88880's AI agent (ZCode, GLM-5.3), not by Qwerner88880 personally. ## What and why Fixes #5298. `boot_paint.rs` (the boot loading screen, `cfg(windows)`) imports `Win32::Foundation`, `Win32::Graphics::Gdi` and `Win32::UI::WindowsAndMessaging`, but the `windows-sys` dependency's feature list has only the `Win32_System_*` ones, so every Windows build of current main fails at `horizon-threads` with E0433 ("configured out"). Linux CI never compiles this file, which is why it stayed green. The fix adds the three features the file imports. ## Kind - [x] bug: a crash or a breakage ## Vanilla reference none (build configuration) ## Other projects' code none ## Tested `cargo check -p horizon-threads` fails on main on Windows and passes here; the crate's non-Windows path is untouched. ## Self-check One dependency line; no code, no lockfile change. 🤖 Generated with ZCode (GLM-5.3) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:15:45 +07:00
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#6194
No description provided.