cargo::core::compiler::rustdoc

Function add_output_format

source
pub fn add_output_format(
    build_runner: &BuildRunner<'_, '_>,
    unit: &Unit,
    rustdoc: &mut ProcessBuilder,
) -> CargoResult<()>
Expand description

Adds unstable flag --output-format to the given rustdoc invocation. This is for unstable feature [-Zunstable-features].