-
Notifications
You must be signed in to change notification settings - Fork 513
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 non-windows support for PWSTR and PCWSTR #3004
Conversation
@microsoft-github-policy-service agree company="Princh" |
This does not fix #1874 which is asking for 32-bit wide string support, which is a good example of why I am reluctant to expand support for non-Windows targets. Supporting non-Windows platforms involves much more than merely avoiding this one call to |
You can use #3005 for test coverage. |
c4b30b9
to
b3833cf
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
As described in #2996,
PWSTR
andPCWSTR
currently has undocumented undefined behaviour in theas_wide
method.This fixes this by using a different implementation on non-windows targets.
Fixes: #2996, #1874