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

Use process to get platform and arch #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kriszyp
Copy link

@kriszyp kriszyp commented May 19, 2022

I have been doing some testing with bun, which recently added NAPI support, and it turns out that node-gyp-build works pretty well with it with minimal adjustment!
Currently bun doesn't have a compliant 'os' module (although will soon) , and so this change is the one thing for compatibility with bun, and seems slightly simpler, with one less require. Again, probably will be fixed on bun side, so not a big deal if you don't want this.

@mafintosh
Copy link
Collaborator

nice, looks great! there is a conflict for some reason, otherwise lgtm

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.

None yet

2 participants