Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add header pruning #85

Closed
Jake-Shadle opened this issue Jun 2, 2023 · 0 comments · Fixed by #101
Closed

Add header pruning #85

Jake-Shadle opened this issue Jun 2, 2023 · 0 comments · Fixed by #101
Labels
enhancement New feature or request

Comments

@Jake-Shadle
Copy link
Owner

The Windows SDK has ~315MiB of headers (and other junk) under include, and similarly to #84, only a small fraction will ever be used by a project. Header pruning will probably be a little more involved if one wants to remove headers transitively, but with a little effort one should be able to remove massive swathes of includes that any single project never uses, potentially reducing disk (container) usage quite a lot.

Also, the winrt directory is 121MiB alone, and most C/C++ code that is using Windows is ancient and thus doesn't know nor care about WinRT, so that should at least be an easy win for most projects.

@Jake-Shadle Jake-Shadle added the enhancement New feature or request label Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant