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 wasm2js example #2837

Merged
merged 1 commit into from
Mar 16, 2022
Merged

Fix wasm2js example #2837

merged 1 commit into from
Mar 16, 2022

Conversation

ambiso
Copy link
Contributor

@ambiso ambiso commented Mar 15, 2022

Removing the --target web and fixing up the imports fixes the wasm2js example.

Note that we don't need to run init any longer since it's already run by wasm2js.js

Fixes #2735

@alexcrichton alexcrichton merged commit 7993d91 into rustwasm:main Mar 16, 2022
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.

wasm2js example not working
2 participants