Skip to content

Conversation

@alvinhochun
Copy link
Contributor

This enables cross-building the cppwinrt.exe tool from Linux. A CI has been added to test this.

_get_pgmptr is not available in msvcrt used by most mingw-w64
toolchains, so use GetModuleFileNameA instead. I also found that
_get_pgmptr does not give a path at all when run from a long path
(>260 bytes) so this change will be an improvement.
32KB on the stack isn't really that bad...
@alvinhochun
Copy link
Contributor Author

Getting random intermittent failures again... @kennykerr can you please trigger a re-run of the failed jobs?

@kennykerr kennykerr merged commit da5579c into microsoft:master Nov 28, 2022
@alvinhochun alvinhochun deleted the alvin/cross-build branch December 11, 2022 16:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants