compile_executable_in_prepared_db

Function compile_executable_in_prepared_db 

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

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