referrerpolicy=no-referrer-when-downgrade

params_to_wasmtime_semantics

Function params_to_wasmtime_semantics 

Source
pub fn params_to_wasmtime_semantics(
    par: &ExecutorParams,
) -> (Semantics, DeterministicStackLimit)
Expand description

Takes the default config and overwrites any settings with existing executor parameters.

Returns the semantics as well as the stack limit (since we are guaranteed to have it).