Skip to content

Conversation

@JohnMcPMS
Copy link
Member

@JohnMcPMS JohnMcPMS commented Dec 10, 2025

See https://aka.ms/hybridcrt for additional details.

When building ReleaseStatic, use the hybrid linkage model. This produces a binary that is closer in size to the dynamic linkage than the full static, relying on the UCRT binary that ships in Windows to provide the core CRT functionality. As an example, the WindowsPackageManager.dll is ~90 KB larger as hybrid than dynamic, but is another ~160 KB larger as static than hybrid.

Microsoft Reviewers: Open in CodeFlow

@JohnMcPMS JohnMcPMS requested a review from a team as a code owner December 10, 2025 00:41
@JohnMcPMS JohnMcPMS merged commit b7cc9bf into microsoft:master Dec 12, 2025
9 checks passed
@JohnMcPMS JohnMcPMS deleted the hybrid-crt branch December 12, 2025 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants