Skip to content

Add mingw support to npm package#1363

Merged
drager merged 1 commit intodrager:masterfrom
nathaniel-daniel:mingw
Mar 16, 2024
Merged

Add mingw support to npm package#1363
drager merged 1 commit intodrager:masterfrom
nathaniel-daniel:mingw

Conversation

@nathaniel-daniel
Copy link
Contributor

Closes #1354
Closes #1359

This PR fixes the NPM package's platform detection for mingw.

Copy link
Owner

@drager drager left a comment

Choose a reason for hiding this comment

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

Thanks!

@drager drager merged commit e190fd6 into drager:master Mar 16, 2024
@Kreijstal
Copy link

does not support MINGW64_NT-10.0-19045 lol

@nathaniel-daniel nathaniel-daniel deleted the mingw branch March 22, 2024 22:41
@nathaniel-daniel
Copy link
Contributor Author

does not support MINGW64_NT-10.0-19045 lol

According to Node's source (relevant section added as a comment in this PR), all mingw targets start with "MINGW32_NT-" (__MINGW32__ is defined on 64 bit compilers as well).

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.

Support msys2 environment NPM Package Fails to Install on Mingw

3 participants