Skip to main content

parse_rust

Function parse_rust 

Source
pub fn parse_rust(source: &str) -> Result<Kernel, CompileError>
Expand description

Parse a Rust kernel source string into an HIR Kernel.

ยงErrors

Returns CompileError::ParseError if the source cannot be parsed.