Skip to main content

create_vm_with_policy

Function create_vm_with_policy 

Source
pub fn create_vm_with_policy(
    client: Client,
    options: VmOptions,
    policy: Option<Arc<Policy>>,
) -> Result<Lua>
Expand description

Same as create_vm_with_options, with an explicit policy for embedders that resolve one themselves instead of through ASSAY_POLICY_FILE.