Repository navigation
feat(windows): factor console CTRL dispatch (#311) and add Windows hard-link detection (#277) - #8387
Merged
Merged
Conversation
…rd-link detection (#277)
oferchen
added a commit
that referenced
this pull request
Nov 17, 2026
…8395) ## Summary - **CONTRIBUTING.md**: pin the upstream tree, tarball URL, line manifest, surface diff and citation example at rsync 3.5.2; list all sixteen required checks (`rustdoc links` was missing); put blank lines around headings and `---` rules. Four rules sat directly under a paragraph, which rendered that paragraph as a heading. - **SECURITY.md**: order the 3.5.1 and 3.5.2 sections by release, like the summary table, and keep the 3.5.2 testsuite note with the 3.5.2 section. No status or evidence text changed. - **CHANGELOG.md**: add entries for #8320, #8385, #8387 and #8392; add the missing PR numbers (#8382, #8383); name 3.5.2 as the reference and as the gated test suite; fix heading spacing. - **README.md**: name the one internal feature the feature table's "Not listed" note left out. The testsuite counts, CVE counts, protocol table, links and feature table were checked against the tree and are current. ## Verification - Every relative link in the four files resolves. - The README feature table matches the `[features]` tables of the workspace and every crate. - Required-check list compared with the ruleset (16 contexts). - Testsuite counts compared with `tools/ci/upstream-3.5.2-expect.*.txt`; CVE counts compared with the SECURITY.md rows. - `cargo xtask citations` passes.
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.
Summary
crates/platform/src/signal.rs): Factor Windows console control event dispatch out of theunsafe extern "system" fn handlerintodispatch_console_ctrl(ctrl_type, shutdown, graceful) -> boolwith compile-timeconstassertions against Win32CTRL_*_EVENTconstants and cross-platform unit tests.crates/fast_io/src/same_fs.rs,crates/engine/src/local_copy/hard_links/windows.rs,crates/engine/src/local_copy/executor/file/copy/links.rs):fast_io::same_fs::FileIdentityandfile_identity(path)sharing a singlewindows_file_info(GetFileInformationByHandle) helper on Windows andsymlink_metadataon Unix.HardLinkTracker(existing_target_for_path/record_for_path) keyed by(volume_id, file_index)whennlink > 1, and wiresourceat local-copy call sites.is_already_hardlinked(destination, target)viafast_io::same_fs::file_identityon both Unix and Windows.test_copy_partial_eoftemp-file pid-unique naming) was already fixed in7bc2964a4(test: give fast_io copy_file_range temp files pid-unique names #8139), and Ensure binary negotiation flushes client advertisement #353 (required Windows CI full workspace test surface) landed inc88299623(ci: run the full workspace test surface in the required Windows cell #8316).Verification
cargo fmt --all -- --checkcargo test --locked -p platform: 88 passed, 0 failedcargo test --locked -p fast_io --lib same_fs: 6 passed, 0 failed (1111 filtered out)cargo test --locked -p engine --lib local_copy::hard_links: 50 passed, 0 failed (4559 filtered out)cargo clippy --locked -p platform -p fast_io -p engine --all-targets -- -D warnings