Skip to content

Add --target web to quick start build command#1367

Merged
drager merged 2 commits intodrager:masterfrom
josephrocca:patch-1
Jul 1, 2024
Merged

Add --target web to quick start build command#1367
drager merged 2 commits intodrager:masterfrom
josephrocca:patch-1

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
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!

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