bootstrap::core::build_steps::test

Function prepare_cargo_test

Source
fn prepare_cargo_test(
    cargo: impl Into<BootstrapCommand>,
    libtest_args: &[&str],
    crates: &[String],
    primary_crate: &str,
    compiler: Compiler,
    target: TargetSelection,
    builder: &Builder<'_>,
) -> BootstrapCommand
Expand description

Given a cargo test subcommand, pass it the appropriate test flags given a builder.