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 --target web to quick start build command #1367

Merged
merged 2 commits into from
Jul 1, 2024

Conversation

josephrocca
Copy link
Contributor

Looks like about 15k other devs ran into the same issue as me:

https://stackoverflow.com/a/64342488/11950764

And the MDN article includes --target web in their instructions: https://developer.mozilla.org/en-US/docs/WebAssembly/Rust_to_Wasm

So I figured that these instructions should also have that flag.

I also added an extra dot point below the build dot point which briefly indicates how to use the built package.

Thanks!

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 d70be1e into rustwasm:master Jul 1, 2024
2 of 5 checks passed
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.

2 participants