Add tool_win32: manifest-driven Win32 namespace orchestration tool#4312
Closed
Add tool_win32: manifest-driven Win32 namespace orchestration tool#4312
Conversation
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/c6b5c6a1-1837-4732-accc-1449440ce138 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
kennykerr
April 27, 2026 01:44
View session
Collaborator
|
@copilot fmt |
Agent-Logs-Url: https://github.com/microsoft/windows-rs/sessions/7168a9d9-0f70-4273-97a6-1e4dd33163f0 Co-authored-by: kennykerr <9845234+kennykerr@users.noreply.github.com>
Contributor
Author
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.
Adds
tool_win32— a new binary crate that drives the full pipeline for compiling Win32 SDK headers namespace-by-namespace into a mergedWindows.Win32.winmd, as outlined in issue #4300.New crate:
crates/tools/win32src/manifest.rs— TOML manifest structs (Manifest,Namespace) deserialized via serdesrc/main.rs— CLI + three-step per-namespace pipeline:Clang::write()→ per-namespace.rdlReader::write()→ per-namespace.winmdMerger::merge()→ combinedWindows.Win32.winmdexample.toml— example manifest covering Foundation, System.Com, and UI.WindowsAndMessagingManifest format
CLI