Skip to content

Update with list IR from walrus #1717

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

Merged
merged 2 commits into from
Aug 13, 2019

Conversation

alexcrichton
Copy link
Contributor

This commit updates wasm-bindgen to the latest version of walrus
which transforms all internal IR representations to a list-based IR
instead of a tree-based IR. This isn't a major change other than
cosmetic for wasm-bindgen itself, but involves a lot of changes to the
threads/anyref passes.

This commit also updates our CI configuration to actually run all the
anyref tests on CI. This is done by downloading a nightly build of
node.js which is theorized to continue to be there for awhile until the
full support makes its way into releases.

@alexcrichton alexcrichton force-pushed the walrus-update branch 2 times, most recently from f88aad3 to 6ba88cc Compare August 12, 2019 20:11
@alexcrichton alexcrichton requested a review from fitzgen August 12, 2019 20:26
@alexcrichton
Copy link
Contributor Author

Ok should be good for review! Current CI failure is a fluke, and otherwise I'd still like to land this without [patch] so I've started that at rustwasm/walrus#117 to kick off the process.

This commit updates `wasm-bindgen` to the latest version of `walrus`
which transforms all internal IR representations to a list-based IR
instead of a tree-based IR. This isn't a major change other than
cosmetic for `wasm-bindgen` itself, but involves a lot of changes to the
threads/anyref passes.

This commit also updates our CI configuration to actually run all the
anyref tests on CI. This is done by downloading a nightly build of
node.js which is theorized to continue to be there for awhile until the
full support makes its way into releases.
Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

Looks great!

Turns out rustwasm#1704 was buggy and ended up never injecting initialization
because the anyref table was never present! This fixes that issue and
this should now be tested on CI to ensure this doesn't regress and
future changes preserve correctness
@alexcrichton alexcrichton merged commit 603d574 into rustwasm:master Aug 13, 2019
@alexcrichton alexcrichton deleted the walrus-update branch August 13, 2019 19:09
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