Skip to content

Add Spectre-mitigated libraries to the NuGet #340

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

Merged
merged 1 commit into from
Jul 25, 2025
Merged

Add Spectre-mitigated libraries to the NuGet #340

merged 1 commit into from
Jul 25, 2025

Conversation

walbourn
Copy link
Member

@walbourn walbourn commented Jul 17, 2025

Customers using the BinSkim Microsoft security tool will get flagged when using static C++ libraries not built using /Qspectre. This adds the alternative flavor of the libraries to the directxtex_desktop_2019 and directxtex_desktop_win10 versions of the NuGet package. The targets automatically selects the Spectre version when building with SpectreMitigations enabled.

The new packages are 67 MB and 101 MB in size, compared to the old ones which were 32 MB and 48 MB.

@walbourn walbourn self-assigned this Jul 17, 2025
@walbourn walbourn merged commit 96b2143 into main Jul 25, 2025
109 checks passed
@walbourn walbourn deleted the nugetspectre branch July 25, 2025 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants