Repository navigation
fix/windows runtime useless conversion - #2122
Merged
Merged
Conversation
zackees
commented
Nov 21, 2026
Member
- fix(platform): drop the useless NormalizedPath conversion on Windows
- fix(platform): close test pseudo-terminals explicitly, not with drop()
26b18d0 made parent_dir return NormalizedPath, so wrapping it again trips clippy::useless_conversion under -D warnings. Only the Windows Check (ci-full) compiles this file, so the error surfaced first in the setup-soldr v0 canary (#2118). Ci-Attestation: {"at":1795211926,"gate":"rust/aarch64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["26c6506b22e9502365d304201b95a156d83113a9"],"secs":807,"stamp":"6ad83f3dd1392e7ab082b6a270229563","tree":"771a1dbca8320612d58b4648ff622514474fce17","v":1,"via":"run"} Ci-Attestation: {"at":1795211926,"gate":"rust/aarch64-unknown-linux-musl/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["26c6506b22e9502365d304201b95a156d83113a9"],"secs":807,"stamp":"c421396fb28a00083f14ce71458c0fb6","tree":"771a1dbca8320612d58b4648ff622514474fce17","v":1,"via":"run"} Ci-Attestation: {"at":1795211926,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["26c6506b22e9502365d304201b95a156d83113a9"],"secs":807,"stamp":"d41f7ce9078ab7fba3b33abf1ec3de45","tree":"771a1dbca8320612d58b4648ff622514474fce17","v":1,"via":"run"} Ci-Attestation: {"at":1795211926,"gate":"rust/x86_64-unknown-linux-musl/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["26c6506b22e9502365d304201b95a156d83113a9"],"secs":807,"stamp":"23861a9e871ca155436c33990f6b44de","tree":"771a1dbca8320612d58b4648ff622514474fce17","v":1,"via":"run"}
On Windows PtyPair wraps an uninhabited type and has no drop glue, so drop(pty) in the handler tests trips clippy::drop_non_drop when the cross-target lint lane checks x86_64-pc-windows-msvc (5971319). PtyPair::close(self) states the intent and compiles on every host. Ci-Attestation: {"at":1795221482,"gate":"general/all/dylint-policy","host":"linux-x86_64","key":"","lane":"dylint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":2505,"stamp":"b2b8889b5d7786a8c8738d5bc8eae288","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/aarch64-apple-darwin/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"add55ba9fd4337dadbff171ba83ece81","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/aarch64-apple-darwin/dylint","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"c207e1a387cee5301bb3d7b3b463cc3c","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/aarch64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"fc431c8c5d623a8e6752fef84f0ea2a7","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/aarch64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"1d8104bace050be50b0db7b9ea4902d8","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/aarch64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"433842918e44ab109f1be98531609ba4","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/aarch64-unknown-linux-gnu/dylint","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"e0a3beb18c3f1d5620dae9ca643bf60c","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/aarch64-unknown-linux-musl/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"7a07b5396a3b41f0419a427645cffa63","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/aarch64-unknown-linux-musl/dylint","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"ecfb5ea42d74c9d07c280be49e10a7e7","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/x86_64-apple-darwin/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"2480a7207c02da0d5b251ccb8372d640","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/x86_64-apple-darwin/dylint","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"5f27bae0ea0270d3003231123c455130","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/x86_64-pc-windows-msvc/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"54d6b455751a19d967118f18b03a1189","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/x86_64-pc-windows-msvc/dylint","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"c0f0f2cce1e5842a896dc45a26dd6a64","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/x86_64-unknown-linux-gnu/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"fec484f570acc93dfa8d6d9433e03feb","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/x86_64-unknown-linux-gnu/dylint","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"934faf90a8dba6e5104356074408dcdb","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795221482,"gate":"rust/x86_64-unknown-linux-gnu/dylint-library-check","host":"linux-x86_64","key":"","lane":"dylint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":2505,"stamp":"cb46a1cff92ebda49af038b848edc6a6","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795221482,"gate":"rust/x86_64-unknown-linux-gnu/workspace-dylint","host":"linux-x86_64","key":"","lane":"dylint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":2505,"stamp":"2dd426a6bdd0d40a7c39e53339b5b386","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/x86_64-unknown-linux-musl/clippy","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"2d49e05e93d1bc393482ceba91616fcb","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"} Ci-Attestation: {"at":1795218976,"gate":"rust/x86_64-unknown-linux-musl/dylint","host":"linux-x86_64","key":"","lane":"lint","parents":["49c31368382691fa4f0eb8696ea6b2f5b406fbf6"],"secs":3988,"stamp":"7c0a24bb91086a283f4708fff9d56848","tree":"3af332a4b32202b2d3d8ea948491335a2fa49384","v":1,"via":"run"}
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
zackees
added a commit
that referenced
this pull request
Nov 21, 2026
This was referenced Nov 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.