-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Remove A/W probing for PInvokes on non-Windows platforms #33246
Comments
cc @jkoritzinsky @AaronRobinsonMSFT It would be nice to do this sooner rather than later so that we have enough time to react to feedback if it is problematic. |
Once this change goes in for CoreCLR, I'll PR the corresponding Mono change for netcore only. |
@CoffeeFlux Could you please make matching change for Mono? |
Will PR today or tomorrow – things are a bit busy today since I'm in the process of transitioning to WFH. |
Fixes dotnet/runtime#33246 Co-authored-by: CoffeeFlux <[email protected]>
Currently both Mono and CoreCLR have logic to probe for functions ending in
W
(Unicode) orA
(Ansi) when resolving P/Invoke targets.This doesn't really make sense on non-Windows platforms where such a convention doesn't exist.
From discussion with @jkotas:
/cc @lambdageek @CoffeeFlux
The text was updated successfully, but these errors were encountered: