pub fn prepare_db(config: &ExecutableConfig) -> Result<RootDatabase>Expand description
Prepares a RootDatabase configured for compiling #[executable] functions.
This only builds the database; use setup_project and the compilation helpers
on top of it to actually compile code.