[PR #15010] Enable the Hybrid CRT for all C++ projects #30347

Open
opened 2026-01-31 09:40:14 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/15010

State: closed
Merged: Yes


The less we need the C++ runtime, the better.

As of 1.17, I measured this as growing our package by a fair amount...
but less than the size of XamlHost and all the forwarders combined.

Reducing our dependency surface makes us easier to deploy and more reliable.

as of 1.17 (2022-10)

File Before After Delta
OpenConsole 1,273,344 1,359,360 +86,016 (84kb)
TerminalApp 2,037,248 2,120,704 +83,456 (82kb)
TerminalControl 1,412,608 1,502,720 +90,112 (88kb)
TerminalSettingsModel 1,510,912 1,621,504 +110,592 (108kb)
wt 97,280 122,368 +25,088 (25kb)
WindowsTerminal 508,928 575,488 +66,560 (65kb)
MSIX Overall 6,488,301 6,799,017 +310,716 (303kb)
**Original Pull Request:** https://github.com/microsoft/terminal/pull/15010 **State:** closed **Merged:** Yes --- The less we need the C++ runtime, the better. As of 1.17, I measured this as growing our package by a fair amount... but less than the size of XamlHost and all the forwarders combined. Reducing our dependency surface makes us easier to deploy and more reliable. _as of 1.17 (2022-10)_ | **File** | **Before** | **After** | **Delta** | | ----------------------- | ----------:| ---------:| ----------------:| | `OpenConsole` | 1,273,344 | 1,359,360 | +86,016 (84kb) | | `TerminalApp` | 2,037,248 | 2,120,704 | +83,456 (82kb) | | `TerminalControl` | 1,412,608 | 1,502,720 | +90,112 (88kb) | | `TerminalSettingsModel` | 1,510,912 | 1,621,504 | +110,592 (108kb) | | `wt` | 97,280 | 122,368 | +25,088 (25kb) | | `WindowsTerminal` | 508,928 | 575,488 | +66,560 (65kb) | | **MSIX Overall** | 6,488,301 | 6,799,017 | +310,716 (303kb) |
claunia added the pull-request label 2026-01-31 09:40:14 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#30347