Commit b7cc9bf
authored
Use hybrid CRT linkage instead of full static (microsoft#5913)
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.1 parent 9a65ba4 commit b7cc9bf
File tree
2 files changed
+14
-0
lines changed- .github/actions/spelling
- src
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
124 | 124 | | |
125 | 125 | | |
126 | 126 | | |
| 127 | + | |
127 | 128 | | |
128 | 129 | | |
129 | 130 | | |
| |||
228 | 229 | | |
229 | 230 | | |
230 | 231 | | |
| 232 | + | |
231 | 233 | | |
232 | 234 | | |
233 | 235 | | |
| |||
568 | 570 | | |
569 | 571 | | |
570 | 572 | | |
| 573 | + | |
571 | 574 | | |
572 | 575 | | |
573 | 576 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
31 | 42 | | |
32 | 43 | | |
33 | 44 | | |
| |||
0 commit comments