Skip to main content

compile_kernel_with_config

Function compile_kernel_with_config 

Source
pub fn compile_kernel_with_config(
    source: &str,
    config: &CompilerConfig,
) -> Result<Vec<u8>, RuntimeError>
Expand description

Compile kernel source code with a custom configuration.

ยงErrors

Returns RuntimeError::Compile if the source cannot be parsed or compiled.