cargo::util::workspace

Function get_available_targets

Source
fn get_available_targets<'a>(
    filter_fn: fn(_: &Target) -> bool,
    ws: &'a Workspace<'_>,
    options: &'a CompileOptions,
) -> CargoResult<Vec<&'a str>>