Function compile_executable_in_prepared_db

Source
pub fn compile_executable_in_prepared_db(
    db: &RootDatabase,
    executable_path: Option<&str>,
    main_crate_ids: Vec<CrateId>,
    diagnostics_reporter: DiagnosticsReporter<'_>,
    config: ExecutableConfig,
) -> Result<CompiledFunction>
Expand description

Runs compiler on the specified executable function. If no executable was specified, verify that there is only one. Otherwise, return an error.