-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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: add include to js_native_api_v8.cc for standalone compile #24498
Conversation
Open issue for failure on AIX which seems unrelated - #24519 |
Failure on ubuntu also looks unrelated, pre-existing issue: #24403 |
Resumed build here: https://ci.nodejs.org/job/node-test-pull-request/18807/ |
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.
(This makes me wonder if we can just put the js_native_api
files into a a folder under src
..)
@bghgary this results in the following warning:
|
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.
I'd like to find a way to address this warning before this lands.
@bghgary which code in |
Arg, I made a mistake and was on an older commit which didn't have the final changes. js_native_api_types.h is sufficient. This wasn't included originally. The I'll update this with just the change. |
@bghgary Awesome! including |
@bghgary Oh, NM 🙂 I just saw that you'd add the comments too. Thanks! |
- Include algorithm header in js_native_api_v8.cc since std::min requires it. - Add comments to js_native_api_v8_internals.h for NAPI_VERSION
b94c62f
to
6fff71c
Compare
Updated commit, changed title, changed PR description. |
There is an error in the CI that I don't think is related to my changes. Can anyone take a look? |
It says "API rate limit exceeded for 35.224.112.202" |
That job only validates the format of the commit message. So errors there are non blocking. |
Landed in d1a55d3. |
- Include algorithm header in js_native_api_v8.cc since std::min requires it. - Add comments to js_native_api_v8_internals.h for NAPI_VERSION PR-URL: #24498 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
@bghgary 🎉 Congratulations on getting promoted by GitHub from |
Thanks! I have more changes coming. No worries on that. 😅 |
- Include algorithm header in js_native_api_v8.cc since std::min requires it. - Add comments to js_native_api_v8_internals.h for NAPI_VERSION PR-URL: #24498 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
- Include algorithm header in js_native_api_v8.cc since std::min requires it. - Add comments to js_native_api_v8_internals.h for NAPI_VERSION PR-URL: #24498 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
- Include algorithm header in js_native_api_v8.cc since std::min requires it. - Add comments to js_native_api_v8_internals.h for NAPI_VERSION PR-URL: nodejs#24498 Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Gabriel Schulhof <gabriel.schulhof@intel.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
requires it.
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesCC @gabrielschulhof and @mhdawson