Function regorust::regoBuild

source ยท
pub unsafe extern "C" fn regoBuild(
    rego: *mut regoInterpreter,
) -> *mut regoBundle
Expand description

@brief Builds a compiled Rego bundle. @details The bundle will include any base and virtual documents added to the interpreter, as well as a query set with ::regoSetQuery (if present) and any entrypoints added with ::regoAddEntrypoint (if any). There must be at least one entrypoint or a query specified for the build to be successful. The resulting handle can be used with ::regoBundleQuery and/or saved to the disk for later re-use. @return a compiled Rego bundle