-
Notifications
You must be signed in to change notification settings - Fork 29.7k
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
src: move AsyncResource impl out of public header #26348
Conversation
@bnoordhuis sadly an error occured when I tried to trigger a build :( |
I don’t quite understand the Windows CI failure (there doesn’t seem to be information about where in our source it is coming from), but it seems related. |
94f4925
to
a3dce1b
Compare
Rebase + new CI to check if it's actually a persistent issue: https://ci.nodejs.org/job/node-test-pull-request/21086/ |
Windows compile fail is triggered by the
|
Ping @bnoordhuis |
Implementing the methods out-of-line (i.e., not inline) means we can fix bugs and have already compiled add-ons pick up the fixes automatically, something that doesn't work when the methods are inline because then they get compiled into the add-on instead of the node binary.
a3dce1b
to
f934c22
Compare
Sorry, missed @refack's comment. Feedback incorporated. New CI: https://ci.nodejs.org/job/node-test-pull-request/21781/ |
Seems like it does compile on Windows now. There's just one test failing that might be related: https://ci.nodejs.org/job/node-test-binary-windows/24767/COMPILED_BY=vs2017,RUNNER=win2008r2-vs2017,RUN_SUBSET=1/testReport/junit/(root)/test/parallel_test_inspect_async_hook_setup_at_inspect/ |
Probably it's just being flaky #26798 Resume: https://ci.nodejs.org/job/node-test-pull-request/21814 |
Implementing the methods out-of-line (i.e., not inline) means we can fix bugs and have already compiled add-ons pick up the fixes automatically, something that doesn't work when the methods are inline because then they get compiled into the add-on instead of the node binary. PR-URL: nodejs#26348 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Landed in eb2dccb 🎉 |
Implementing the methods out-of-line (i.e., not inline) means we can fix
bugs and have already compiled add-ons pick up the fixes automatically,
something that doesn't work when the methods are inline because then
they get compiled into the add-on instead of the node binary.
CI: https://ci.nodejs.org/job/node-test-pull-request/21029/