minimal_rt_build

Function init

Source
pub fn init()
Expand description

Initializes compiler flags for building a minimal kernel using the minimal_rt crate.

Only does anything if the MINIMAL_RT_BUILD environment variable is set.

Also, sets the minimal_rt cfg so that code can detect that it should build for running as a minimal kernel.