cargo::core::compiler::custom_build

Function emit_build_output

source
fn emit_build_output(
    state: &JobState<'_, '_>,
    output: &BuildOutput,
    out_dir: &Path,
    package_id: PackageId,
) -> CargoResult<()>
Expand description

Emits the output of a build script as a machine_message::BuildScript JSON string to standard output.