You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow function resumption after running out of fuel (#1498)
* rename resumable call types
* apply missing renaming
* move common state into the new ResumableCallCommon type
* deduplicate more potentially shared logic
* update resumable call integration tests
* add ResumableCall::OutOfFuel variant
* re-export [Typed]ResumableCallOutOfFuel variants
* move ResumableHostTrapError into resumable module
* add ResumableOutOfFuelError type
* add ResumableOutOfFuelError to Error
* add ResumableOutOfFuelError::into_error method
* extend FuelError with required_fuel info
* fix broken doc links
* integrate new OufOfFuel resumption into the engine
* reformat code a bit
* clean-up and refactor wast runner invoke
* move prepare_results lower in file
* merge impl blocks
* add ResumableCallHostTrap::into_host_error method
* extend Error::into_resumable method
* make Wasmi Wast runner use resumable calls if fuel metering is enabled
* apply rustfmt
* remove unused parameter
* apply rustfmt
* update instruction pointer upon failure
* no longer refuel with 6000 additional fuel on top
* only update ip if there is at least one call frame left
* preserve fuel when instantiating a module in Wast runner
* only update ip if the error is out-of-fuel
* apply clippy suggestion
0 commit comments