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

refactor: don't take ModuleBuilder in construction of ModuleCache #144

Closed
wants to merge 8 commits into from

Conversation

mattyg
Copy link
Member

@mattyg mattyg commented Jan 15, 2025

Summary

I split out the ModuleBuilder from the ModuleCache hastily in #136 and didn't wait for review (my bad).

This modifies the implementation so that a default ModuleBuilder is constructed when the ModuleCache is constructed. Nothing about the ModuleBuilder is exposed to consumers. Holochain was not modifying the default setup anyway.

This also removes tests with wasm metering disabled, as this is not used anywhere and no longer exposed for configuration.

TODO:

  • CHANGELOG updated

…stead just construct a new default ModuleBuilder. Remove tests against wasmer_sys_* features without wasm metering, as this is not used anywhere and not exposed for configuration
Copy link
Member Author

Choose a reason for hiding this comment

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

Removes tests of feature wasmer_sys with metering disabled, as this is not used anywhere and not exposed as an option for consumers.

@mattyg
Copy link
Member Author

mattyg commented Jan 15, 2025

Superseded by #145

@mattyg mattyg closed this Jan 15, 2025
@mattyg mattyg deleted the fix/construct-modulebuilder branch January 15, 2025 23:54
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