Skip to content

support for gas metering #2163

@rockwotj

Description

@rockwotj

Other Wasm runtimes have support for gas metering or fuel that allow Wasm code to have an upper bound on computation. Wasmtime's implementation even supports yielding. It'd be great to have this support in wamr

https://docs.rs/wasmtime/latest/wasmtime/struct.Config.html#method.consume_fuel

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions