mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 18:31:15 +08:00
da3e064417
Fixes #37104 This fixes the WASM build by patching out the `wchar_t` size check when targeting WASM/Emscripten. From what I have read, `wchar_t` defaults to 32-bit when targeting Emscripten and uses 16-bit even when `-fshort-wchar` is set, both of which should be enough for a UTF-16 code unit, which is presumably what this check verifies. Feel free to suggest better solutions, since this feels a bit hacky, even if it works. - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [x] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file.