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

Enablemutable globals feature for wasm-opt #887

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Urhengulas
Copy link

Fixes #886

Make sure these boxes are checked! 📦✅

  • You have the latest version of rustfmt installed
$ rustup component add rustfmt
  • You ran cargo fmt on the code base before submitting
  • You reference which issue is being closed in the PR text

✨✨ 😄 Thanks so much for contributing to wasm-pack! 😄 ✨✨

@Urhengulas Urhengulas marked this pull request as draft July 31, 2020 12:46
@Urhengulas
Copy link
Author

Urhengulas commented Jul 31, 2020

Solved!


I noticed this actually creates a new problem!

In my setup with react I get following error when I am trying to run it:

Failed to compile

./node_modules/rav1e/rav1e_js_bg.wasm
Module parse failed: Unexpected section: 0xc
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
Error: Unexpected section: 0xc

Going to convert it to draft for now.

@Urhengulas Urhengulas marked this pull request as ready for review August 1, 2020 11:12
@Urhengulas Urhengulas changed the title Enable non-MVP features for wasm-opt Enablemutable globals feature for wasm-opt Aug 5, 2020
@JHBonarius
Copy link

commit seems legit.... what's the holdup??

@Urhengulas
Copy link
Author

@JHBonarius

commit seems legit.... what's the holdup??

No holdup from my side. Just waiting for someone to review :)

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.

wasm-opt: Exported global cannot be mutable
3 participants