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

Wasmtime: Introduce {Module,Component}::resources_required #6789

Merged
merged 1 commit into from
Aug 1, 2023

Commits on Aug 1, 2023

  1. Wasmtime: Introduce {Module,Component}::resources_required

    Returns a summary of the resources required to instantiate this module or
    component.
    
    Potential uses of the returned information:
    
    * Determining whether your pooling allocator configuration supports
      instantiating this module.
    
    * Deciding how many of which `Module` you want to instantiate within a fixed
      amount of resources, e.g. determining whether to create 5 instances of module X
      or 10 instances of module Y.
    
    Part of bytecodealliance#6627.
    fitzgen committed Aug 1, 2023
    Configuration menu
    Copy the full SHA
    56eea51 View commit details
    Browse the repository at this point in the history