-
Notifications
You must be signed in to change notification settings - Fork 30k
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: do not include internals from node_buffer.h #15554
Conversation
`node_buffer.h` is a public header, so it should not be using the `node_internals.h` internal header. Ref: 290315a Fixes: nodejs#15552
CI: https://ci.nodejs.org/job/node-test-commit/12515/ @nodejs/collaborators I would like to fast-track this to unbreak addons. This really should have been caught by our addon tests, and I’m working on fixing that, but it’s going to be trickier than the fix and probably shouldn’t be rushed. |
the |
@AndreasMadsen Maybe I’m misunderstanding that last comment, but as @richardlau pointed out in #15509, the bug would be “about” to break 8.6.0. I don’t think this needs to land asap, but it would be nice to not have to wait the full 72 hours (if only because of the broken nightlies). |
@addaleax I think you understood me fine. |
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.
LGTM expedited.
Perhaps we can revive #12231. |
@richardlau thanks, I didn’t remember that – it’s basically exactly the kind of test change we need … |
Landed in 84063a7 |
`node_buffer.h` is a public header, so it should not be using the `node_internals.h` internal header. Ref: 290315a Fixes: #15552 PR-URL: #15554 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
`node_buffer.h` is a public header, so it should not be using the `node_internals.h` internal header. Ref: 290315a Fixes: nodejs/node#15552 PR-URL: nodejs/node#15554 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
`node_buffer.h` is a public header, so it should not be using the `node_internals.h` internal header. Ref: 290315a Fixes: #15552 PR-URL: #15554 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Andreas Madsen <amwebdk@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
as #14697 did not land on v6.x I'm setting this to |
node_buffer.h
is a public header, so it should not be using thenode_internals.h
internal header.Ref: 290315a
Fixes: #15552
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passesAffected core subsystem(s)
addons