Skip to content
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

[nfc] Disentangle and Modularize JSG #3607

Merged
merged 1 commit into from
Feb 26, 2025
Merged

Conversation

fhanau
Copy link
Collaborator

@fhanau fhanau commented Feb 26, 2025

  • Factor several files out of the main JSG target
  • Significantly reduce header interdependencies/cycles
  • Start splitting up uses of <v8.h> into constituent headers.

This will make future refactoring of JSG easier.

- Factor several files out of the main JSG target
- Significantly reduce header interdependencies/cycles
- Start splitting up uses of <v8.h> into constituent headers.

This will make future refactoring of JSG easier.
@fhanau fhanau force-pushed the felix/022425-jsg-disentangle branch from 1a22071 to 82d971b Compare February 26, 2025 20:02
@fhanau fhanau requested a review from anonrig February 26, 2025 20:40
@fhanau fhanau marked this pull request as ready for review February 26, 2025 20:40
@fhanau fhanau requested review from a team as code owners February 26, 2025 20:40
@fhanau fhanau requested a review from mikea February 26, 2025 20:40
@fhanau fhanau changed the title [DRAFT][nfc] Disentangle and Modularize JSG [nfc] Disentangle and Modularize JSG Feb 26, 2025
Copy link
Member

@jasnell jasnell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Largely rubber-stamp LGTM. As long as it builds and tests pass I'm good with the cleanup I'm seeing here!

@fhanau
Copy link
Collaborator Author

fhanau commented Feb 26, 2025

Wasn't sure if this was possible at all, but looks like it "just works"! Apparently downstream changes are not required. I want to reduce exposure to the expansive JSG API (and by extension V8 headers) for dependent code in the future, this will certainly make it easier.

@fhanau fhanau merged commit 202bbf7 into main Feb 26, 2025
17 checks passed
@fhanau fhanau deleted the felix/022425-jsg-disentangle branch February 26, 2025 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants