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 anyref table export in empty modules #1704

Merged
merged 1 commit into from
Aug 5, 2019

Conversation

alexcrichton
Copy link
Contributor

This commit fixes an issue previously introduced around handling the
anyref table, gracefully handling the case where the source module
doesn't actually use the anyref table at all, meaning that the logic
around initializing it can be entirely skipped.

This commit fixes an issue previously introduced around handling the
anyref table, gracefully handling the case where the source module
doesn't actually use the anyref table at all, meaning that the logic
around initializing it can be entirely skipped.
@alexcrichton alexcrichton merged commit cbab8a1 into rustwasm:master Aug 5, 2019
@alexcrichton alexcrichton deleted the skip-anyref branch August 5, 2019 20:16
alexcrichton added a commit to alexcrichton/wasm-bindgen that referenced this pull request Aug 12, 2019
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 added a commit to alexcrichton/wasm-bindgen that referenced this pull request Aug 12, 2019
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 added a commit to alexcrichton/wasm-bindgen that referenced this pull request Aug 12, 2019
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 added a commit to alexcrichton/wasm-bindgen that referenced this pull request Aug 13, 2019
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 added a commit to alexcrichton/wasm-bindgen that referenced this pull request Aug 13, 2019
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
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.

1 participant