[PR #3363] [MERGED] launcher: drop an unused import in the Windows make_link #4932

Closed
opened 2026-11-03 05:09:00 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/3363
Author: @ThatCakeIsAPie
Created: 10/28/2026
Status: ✅ Merged
Merged: 10/29/2026
Merged by: @levzzz5154

Base: main ← Head: fix/launcher-windows-unused-import


📝 Commits (1)

  • c6efb36 launcher: drop an unused import in the Windows make_link

📊 Changes

1 file changed (+0 additions, -1 deletions)

View changed files

📝 launcher/src/sources.rs (+0 -1)

📄 Description

🤖 Opened by ThatCakeIsAPie's AI agent (Claude), not by ThatCakeIsAPie themself.

What and why

9f1fa0a0a split the mklink /J call out of make_link into sources::junction, which imports std::os::windows::process::CommandExt itself. make_link kept its own use of it, now unused. On Windows, the launcher's clippy with warnings denied fails on it (cargo clippy --all-targets --locked -- -D warnings in launcher/: "unused import: std::os::windows::process::CommandExt" at src/sources.rs:497). This removes that line. It's Windows-only code, so Linux and macOS builds don't see it.

Vanilla reference

none (launcher).

Self-check

pr_ready (tools/pr_ready.py --quick --base upstream/main on DESKTOP-LT6RAH8, against upstream/main at d0b6e4892, 16 min 47 s)

Check Result
Scope ✅ 1 files, +0 −1
Cargo.lock ✅ unchanged
Public tree ✅
Python tests ❌ 401 run, FAILED (failures=1, errors=1, skipped=1) (1 min 51 s)
rustfmt ➖ no Rust change
clippy ➖ no Rust change
tests ➖ no crate touched
doc tests ➖ no crate touched
content root tests ➖ content root untouched
tokens.css up to date ➖ theme untouched
launcher rustfmt ✅ (1 s)
launcher clippy ✅ (2 min 43 s)
launcher tests ✅ 212 passed (12 min 9 s)
Parity ➖ not run (--quick): CI's parity job picks the affected harnesses
Label player-facing: feature if players get something new, no label for a fix (release-now if urgent)

The Python tests that fail here fail the same way on upstream main on this Windows machine (symlink privilege, path separators); they're independent of this change, and CI runs them on Linux.

Label: skip-release.

🤖 Generated with Claude Code


🔄 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/3363 **Author:** [@ThatCakeIsAPie](https://github.com/ThatCakeIsAPie) **Created:** 10/28/2026 **Status:** ✅ Merged **Merged:** 10/29/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `fix/launcher-windows-unused-import` --- ### 📝 Commits (1) - [`c6efb36`](https://github.com/horizon-rust/horizon/commit/c6efb367b0f4ff99fb94b1fde3159ecac658f0d8) launcher: drop an unused import in the Windows make_link ### 📊 Changes **1 file changed** (+0 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `launcher/src/sources.rs` (+0 -1) </details> ### 📄 Description > 🤖 Opened by ThatCakeIsAPie's AI agent (Claude), not by ThatCakeIsAPie themself. ## What and why 9f1fa0a0a split the `mklink /J` call out of `make_link` into `sources::junction`, which imports `std::os::windows::process::CommandExt` itself. `make_link` kept its own `use` of it, now unused. On Windows, the launcher's clippy with warnings denied fails on it (`cargo clippy --all-targets --locked -- -D warnings` in `launcher/`: "unused import: `std::os::windows::process::CommandExt`" at `src/sources.rs:497`). This removes that line. It's Windows-only code, so Linux and macOS builds don't see it. ## Vanilla reference none (launcher). ## Self-check **pr_ready** (`tools/pr_ready.py --quick --base upstream/main` on DESKTOP-LT6RAH8, against upstream/main at d0b6e4892, 16 min 47 s) | Check | Result | | --- | --- | | Scope | ✅ 1 files, +0 −1 | | Cargo.lock | ✅ unchanged | | Public tree | ✅ | | Python tests | ❌ 401 run, FAILED (failures=1, errors=1, skipped=1) (1 min 51 s) | | rustfmt | ➖ no Rust change | | clippy | ➖ no Rust change | | tests | ➖ no crate touched | | doc tests | ➖ no crate touched | | content root tests | ➖ content root untouched | | tokens.css up to date | ➖ theme untouched | | launcher rustfmt | ✅ (1 s) | | launcher clippy | ✅ (2 min 43 s) | | launcher tests | ✅ 212 passed (12 min 9 s) | | Parity | ➖ not run (--quick): CI's parity job picks the affected harnesses | | Label | player-facing: `feature` if players get something new, no label for a fix (`release-now` if urgent) | The Python tests that fail here fail the same way on upstream main on this Windows machine (symlink privilege, path separators); they're independent of this change, and CI runs them on Linux. Label: `skip-release`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 05:09:00 +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#4932
No description provided.