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

feat(memory) Support modules without an exported memory #114

Merged
merged 3 commits into from
Jan 23, 2020

Conversation

Hywan
Copy link
Contributor

@Hywan Hywan commented Jan 23, 2020

This patch updates Module and Instance to support a module that doesn't export a memory. In such case, the instance.memory getter returns None.

@Hywan Hywan added 🎉 enhancement New feature or request 🧪 tests I love tests 📦 component-extension About the Python extension written in Rust labels Jan 23, 2020
@Hywan Hywan self-assigned this Jan 23, 2020
@Hywan
Copy link
Contributor Author

Hywan commented Jan 23, 2020

bors r+

bors bot added a commit that referenced this pull request Jan 23, 2020
114: feat(memory) Support modules without an exported memory r=Hywan a=Hywan

This patch updates `Module` and `Instance` to support a module that doesn't export a memory. In such case, the `instance.memory` getter returns `None`.

Co-authored-by: Ivan Enderlin <ivan.enderlin@hoa-project.net>
@bors
Copy link
Contributor

bors bot commented Jan 23, 2020

Build succeeded

  • Test (macos-latest)
  • Test (ubuntu-latest)

@bors bors bot merged commit 5a6ab5e into wasmerio:master Jan 23, 2020
@Hywan Hywan added this to 🌱 In progress in Kanban via automation Jan 24, 2020
@Hywan Hywan moved this from 🌱 In progress to 🎉 Done in Kanban Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 component-extension About the Python extension written in Rust 🎉 enhancement New feature or request 🧪 tests I love tests
Projects
Kanban
  
🎉 Done
Development

Successfully merging this pull request may close these issues.

None yet

1 participant