Stream: git-wasmtime

Topic: wasmtime / PR #2927 Allow Async Stores with Fuel to Run F...


view this post on Zulip Wasmtime GitHub notifications bot (May 22 2021 at 17:06):

theduke opened PR #2927 from async-yield-forever to main:

Currently there is no way to configure an async store to run forever.

A fuel injection count has to be specified, which eventually reaches 0 and
causes a trap.

this changes the OutOfGas::InjectFuel configuration to make the injection
count optional, which allows stores to run forever.

NOTE: this is obviously a breaking API change.

It would also be possible to add an additional config method.

<!--

Please ensure that the following steps are all taken care of before submitting
the PR.

Please ensure all communication adheres to the code of conduct.
-->

view this post on Zulip Wasmtime GitHub notifications bot (May 22 2021 at 17:09):

theduke updated PR #2927 from async-yield-forever to main.

view this post on Zulip Wasmtime GitHub notifications bot (May 22 2021 at 17:09):

theduke edited PR #2927 from async-yield-forever to main:

Currently there is no way to configure an async store to run forever.

A fuel injection count has to be specified, which eventually reaches 0 and
causes a trap.

This changes the OutOfGas::InjectFuel configuration to make the injection
count optional, which allows stores to run forever.

NOTE: this is obviously a breaking API change.

It would also be possible to add an additional config method.

view this post on Zulip Wasmtime GitHub notifications bot (Jul 01 2021 at 15:46):

alexcrichton closed without merge PR #2927.


Last updated: Dec 23 2024 at 12:05 UTC