Skip to main content

compile_kernel

Function compile_kernel 

Source
pub fn compile_kernel(
    kernel: &impl Kernel,
    target: &Target,
    force: bool,
) -> Result<String>
Expand description

Compiles kernel for target via the LLVM backend, using TEENYC_PATH (or teenyc on $PATH) and the default cache directory. Set force to recompile even if a cached artifact exists.