Function get

Source
pub fn get(
    config: QueryConfig<'_>,
    target: Option<&str>,
    extra_env: &FxHashMap<String, Option<String>>,
) -> Result<Vec<String>>
Expand description

For cargo, runs cargo -Zunstable-options config get build.target to get the configured project target(s). For rustc, runs rustc --print -vV to get the host target.