cargo::core::compiler::unit_graph

Function emit_serialized_unit_graph

Source
pub fn emit_serialized_unit_graph(
    root_units: &[Unit],
    unit_graph: &UnitGraph,
    gctx: &GlobalContext,
) -> CargoResult<()>
Expand description

Outputs a JSON serialization of UnitGraph for given root_units to the standard output.