Uh oh!
There was an error while loading. Please reload this page.
src: implement constants and natives binding directly - #48186
Closed
joyeecheung wants to merge 3 commits into
Closed
src: implement constants and natives binding directly#48186joyeecheung wants to merge 3 commits into
joyeecheung wants to merge 3 commits into
Conversation
This patch removes special case in the internal binding loader for natives, and implements it using the builtins internal binding. Internally we do not actually need the natives binding, so implement it as a legacy wrapper instead.
nodejs-github-bot
commented
May 26, 2023
Collaborator
Review requested:
|
joyeecheung
commented
May 26, 2023
MemberAuthor
There was a problem hiding this comment.
The original condition was already redundant, builtinIds actually contains both public and internal IDs, so I just removed it (as well as bootstrap_node which no longer exists)
ljharb
reviewed
May 26, 2023
Uh oh!
There was an error while loading. Please reload this page.
anonrig
reviewed
May 26, 2023
Uh oh!
There was an error while loading. Please reload this page.
Instead of adding a special case for it in the internal binding loader, just implement it as usual using a per-context property initializer.
nodejs-github-bot
commented
May 31, 2023
Collaborator
nodejs-github-bot
commented
Jun 1, 2023
Collaborator
This was referenced Jun 2, 2023
jasnell
approved these changes
Jun 3, 2023
This was referenced Jun 4, 2023
legendecas
approved these changes
Jun 5, 2023
20 tasks
nodejs-github-bot
commented
Jun 6, 2023
Collaborator
nodejs-github-bot
commented
Jun 7, 2023
Collaborator
nodejs-github-bot
commented
Jun 8, 2023
Collaborator
24 tasks
joyeecheung added a commit
that referenced
this pull request
Jun 9, 2023
This patch removes special case in the internal binding loader for natives, and implements it using the builtins internal binding. Internally we do not actually need the natives binding, so implement it as a legacy wrapper instead. PR-URL: #48186 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
joyeecheung added a commit
that referenced
this pull request
Jun 9, 2023
Instead of adding a special case for it in the internal binding loader, just implement it as usual using a per-context property initializer. PR-URL: #48186 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
joyeecheung
commented
Jun 9, 2023
MemberAuthor
Landed in 6a3403c...d102f18 |
This was referenced Jun 10, 2023
RafaelGSS pushed a commit
that referenced
this pull request
Jul 3, 2023
This patch removes special case in the internal binding loader for natives, and implements it using the builtins internal binding. Internally we do not actually need the natives binding, so implement it as a legacy wrapper instead. PR-URL: #48186 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
RafaelGSS pushed a commit
that referenced
this pull request
Jul 3, 2023
Instead of adding a special case for it in the internal binding loader, just implement it as usual using a per-context property initializer. PR-URL: #48186 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Merged
Ceres6 pushed a commit
to Ceres6/node
that referenced
this pull request
Aug 14, 2023
This patch removes special case in the internal binding loader for natives, and implements it using the builtins internal binding. Internally we do not actually need the natives binding, so implement it as a legacy wrapper instead. PR-URL: nodejs#48186 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Ceres6 pushed a commit
to Ceres6/node
that referenced
this pull request
Aug 14, 2023
Instead of adding a special case for it in the internal binding loader, just implement it as usual using a per-context property initializer. PR-URL: nodejs#48186 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Ceres6 pushed a commit
to Ceres6/node
that referenced
this pull request
Aug 14, 2023
This patch removes special case in the internal binding loader for natives, and implements it using the builtins internal binding. Internally we do not actually need the natives binding, so implement it as a legacy wrapper instead. PR-URL: nodejs#48186 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
Ceres6 pushed a commit
to Ceres6/node
that referenced
this pull request
Aug 14, 2023
Instead of adding a special case for it in the internal binding loader, just implement it as usual using a per-context property initializer. PR-URL: nodejs#48186 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Chengzhong Wu <legendecas@gmail.com>
ruyadorno
commented
Aug 29, 2023
Member
hi @joyeecheung these commits are not landing cleanly on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
src: implement natives binding without special casing
This patch removes special case in the internal binding loader
for natives, and implements it using the builtins internal
binding. Internally we do not actually need the natives binding,
so implement it as a legacy wrapper instead.
src: implement constants binding directly
Instead of adding a special case for it in the internal binding
loader, just implement it as usual using a per-context property
initializer.