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

fix: Check for "rustup" rather than ".rustup" when checking for wasm32 #616

Merged
merged 2 commits into from
Apr 3, 2019

Conversation

drager
Copy link
Member

@drager drager commented Apr 2, 2019

When checking for wasm32 target we did check if the sysroot contained ".rustup". While this covered the most common cases it didn't work when using Docker. So checking for "rustup" instead covers both
cases.

I also noticed another bug where if the target was found we printed the helpful information and not the way around so I fixed that as well. Also, the code linked to the wrong docs section since the last docs update so I corrected that.

This will fix #613

drager added 2 commits April 2, 2019 21:22
When checking for wasm32 target we did check if the sysroot
contained ".rustup". While this covered the most common cases it didn't
work when using Docker. So checking for "rustup" instead covers both
cases.
Copy link
Member

@ashleygwilliams ashleygwilliams left a comment

Choose a reason for hiding this comment

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

do we wanna do a patch release for this?

@drager
Copy link
Member Author

drager commented Apr 3, 2019

@ashleygwilliams Yes, I think that would be a good idea

@ashleygwilliams ashleygwilliams added this to the 0.8.1 milestone Apr 3, 2019
@ashleygwilliams ashleygwilliams merged commit ee1b7e9 into rustwasm:master Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Doesn't automatically add wasm32-unknown-uknown target in Docker.
2 participants