howjmay opened issue #5758:
Thanks for filing a feature request! Please fill out the TODOs below.
Feature
My team is using wasmtime for building a wasm-based VM. We need to set up different fuel cost for different opcode. It seems there is no such feature in current codebase. We really desire to see one.
Benefit
Finer fuel control enables more flexibility
Implementation
TODO: Do you have an implementation plan, and/or ideas for data structures or
algorithms to use?Alternatives
TODO: What are the alternative implementation approaches or alternative ways to
solve the problem that this feature would solve? How do these alternatives
compare to this proposal?
alexcrichton closed issue #5758:
Thanks for filing a feature request! Please fill out the TODOs below.
Feature
My team is using wasmtime for building a wasm-based VM. We need to set up different fuel cost for different opcode. It seems there is no such feature in current codebase. We really desire to see one.
Benefit
Finer fuel control enables more flexibility
Implementation
TODO: Do you have an implementation plan, and/or ideas for data structures or
algorithms to use?Alternatives
TODO: What are the alternative implementation approaches or alternative ways to
solve the problem that this feature would solve? How do these alternatives
compare to this proposal?
alexcrichton commented on issue #5758:
This is now implemented
Last updated: Aug 30 2026 at 09:07 UTC