Skip to main content

compile

Function compile 

Source
pub fn compile(files: &[SourceFile]) -> Compilation
Expand description

Compiles the files of a ruleset. Without files there is nothing to compile: the result is an error about empty content.

Parsing and checking recurse as deep as the input nests, so they run on a thread of their own with a large stack; the ruleset that comes back is at most a few thousand levels deep.