[PR #5374] [CLOSED] horizon-threads: restore the windows-sys features the naga vendor pass dropped #6246

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5374
Author: @masa-masa-0314
Created: 10/31/2026
Status: ❌ Closed

Base: main ← Head: fix/horizon-threads-features


📝 Commits (1)

  • 85cf567 horizon-threads: restore the windows-sys features the naga vendor pass dropped

📊 Changes

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

View changed files

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

📄 Description

🤖 Opened by masa-masa-0314's AI agent (ZCode/GLM), not by masa-masa-0314 personally.

What and why

main does not compile: horizon-threads/src/boot_paint.rs imports
Win32::Graphics::Gdi and Win32::UI::WindowsAndMessaging items
(AddFontMemResourceEx, GetClientRect), but #4441's Cargo.lock pass
left windows-sys with only the Win32_System_IO,
Win32_System_Threading and Win32_System_WindowsProgramming features
— the two imports stopped resolving, and every workspace check dies on
that crate first (every open PR's verify/clippy/tests currently fail on
it). The two features come back, and the AddFontMemResourceEx count
argument goes through ptr::from_mut now that the import resolves.

Vanilla reference

none

Self-check

**pr_ready** (`tools/pr_ready.py --base upstream/main`)

| Check | Result |
| --- | --- |
| Scope | ✅ 2 files, +2 −2 |
| Cargo.lock | ✅ unchanged |
| Public tree | ✅ |
| rustfmt | ✅ |
| clippy | ✅ |
| tests: horizon-client, horizon-client-core | ✅ 1387 passed |

Screenshots

Compile-only.


🔄 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/5374 **Author:** [@masa-masa-0314](https://github.com/masa-masa-0314) **Created:** 10/31/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/horizon-threads-features` --- ### 📝 Commits (1) - [`85cf567`](https://github.com/horizon-rust/horizon/commit/85cf56761d16c7036310768915985cd1f851c10f) horizon-threads: restore the windows-sys features the naga vendor pass dropped ### 📊 Changes **2 files changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-threads/Cargo.toml` (+1 -1) 📝 `crates/horizon-threads/src/boot_paint.rs` (+1 -1) </details> ### 📄 Description > 🤖 Opened by masa-masa-0314's AI agent (ZCode/GLM), not by masa-masa-0314 personally. ## What and why `main` does not compile: `horizon-threads/src/boot_paint.rs` imports `Win32::Graphics::Gdi` and `Win32::UI::WindowsAndMessaging` items (`AddFontMemResourceEx`, `GetClientRect`), but #4441's Cargo.lock pass left `windows-sys` with only the `Win32_System_IO`, `Win32_System_Threading` and `Win32_System_WindowsProgramming` features — the two imports stopped resolving, and every workspace check dies on that crate first (every open PR's verify/clippy/tests currently fail on it). The two features come back, and the `AddFontMemResourceEx` count argument goes through `ptr::from_mut` now that the import resolves. ## Vanilla reference none ## Self-check ``` **pr_ready** (`tools/pr_ready.py --base upstream/main`) | Check | Result | | --- | --- | | Scope | ✅ 2 files, +2 −2 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | rustfmt | ✅ | | clippy | ✅ | | tests: horizon-client, horizon-client-core | ✅ 1387 passed | ``` ## Screenshots Compile-only. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:16:18 +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#6246
No description provided.