build

Function build 

Source
pub fn build(
    args: Args,
    command_name: &str,
    crate_config: Option<Config>,
) -> Result<ExitStatus>
Expand description

Execute a cargo command with cross compiled sysroot crates for custom targets.

If crate_config is provided it will override the values in the Cargo.toml. Otherwise the config specified in the [package.metadata.cargo-xbuild] section will be used.