-
Notifications
You must be signed in to change notification settings - Fork 3k
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
erts: Do not annotate nif API functions on windows #9016
erts: Do not annotate nif API functions on windows #9016
Conversation
CT Test Results 3 files 141 suites 48m 40s ⏱️ Results for commit 1b31fb0. ♻️ This comment has been updated with latest results. To speed up review, make sure that you have read Contributing to Erlang/OTP and that all checks pass. See the TESTING and DEVELOPMENT HowTo guides for details about how to run test locally. Artifacts// Erlang/OTP Github Action Bot |
On windows nifs can be compiled with gcc/clang which means that __has_attribute(malloc) is defined. This was never intended to work so we disable it on Windows. closes erlang#9015
40fa3de
to
4ae3182
Compare
This fixes the build in many of my test cases. I do get some warnings remaining:
|
I pushed another commit, please try it out and see if it helps. |
I am not seeing warnings anymore. Thank you! I will wait for the next OTP-27 release that contains this before I enable Windows in CI again because testing using custom installers is a bit of a PITA. Would be great if setup-beam could use them. |
On windows nifs can be compiled with gcc/clang which means that __has_attribute(malloc) is defined. This was never intended to work so we disable it on Windows.
closes #9015