Skip to main content

execute_program_with_globals

Function execute_program_with_globals 

Source
pub fn execute_program_with_globals(
    program: Rc<Program>,
    globals: &NamespaceRegistry<Value>,
) -> Result<Value, VmError>
Expand description

Executes a program against a caller’s namespace registry: globals intern into it and resolve from it, with no env bridge, snapshot, or refresh (issue #223).