Conversation
This comment has been minimized.
This comment has been minimized.
f473fa2 to
e302589
Compare
This comment has been minimized.
This comment has been minimized.
e302589 to
84aca5c
Compare
This comment has been minimized.
This comment has been minimized.
test/cctest/test_per_process.cc
Outdated
There was a problem hiding this comment.
The builds are failing because this is private. I guess it would also make sense to add a public method to just return the source in a copy, though.
There was a problem hiding this comment.
I made it a friend
https://github.com/nodejs/node/blob/84aca5ca594f86ce9b6b86e6af039e78f90deaef/src/node_native_module.h#L89
and it compiles & passes with MSVC, now I need to figure out gcc & clang 🤷♂
There was a problem hiding this comment.
Seems like it was a namespace issue
https://github.com/nodejs/node/blob/c178598d309319e9a9e9692d6560a9205cd1b307/src/node_native_module.h#L89
This comment has been minimized.
This comment has been minimized.
tools/js2c.py
Outdated
There was a problem hiding this comment.
Can you wrap this, e.g. by putting the for i in ... on its own line, lining it up with the e in [encoded_source?
8494bba to
6b0295c
Compare
|
Landed in cb92d24 |
PR-URL: nodejs#27980 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
PR-URL: #27980 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Fix a regression that was introduced in #25518 and causes the binary to bloat by ~10%.
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes