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

Add mingw support to npm package #1363

Merged
merged 1 commit into from
Mar 16, 2024
Merged

Conversation

nathaniel-daniel
Copy link
Contributor

Closes #1354
Closes #1359

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

Copy link
Member

@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 rustwasm:master Mar 16, 2024
5 checks passed
@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