Function quickjs_runtime::quickjs_utils::modules::compile_module

source ·
pub unsafe fn compile_module(
    context: *mut JSContext,
    script: Script,
) -> Result<QuickJsValueAdapter, JsError>
Expand description

compile a module, used for module loading

§Safety

please ensure the corresponding QuickJSContext is still valid