parse_kargs_toml

Function parse_kargs_toml 

Source
fn parse_kargs_toml(
    contents: &str,
    sys_arch: &str,
) -> Result<Option<CmdlineOwned>>
Expand description

This parses a bootc kargs.d toml file, returning the resulting vector of kernel arguments. Architecture matching is performed using sys_arch.