compute_deps_custom_build in cargo::core::compiler::unit_dependencies - Rust
Description: Returns the dependencies needed to run a build script.

Skip to main content

## compute_deps_custom_build

# Function compute_deps_custom_build

Source

    fn compute_deps_custom_build(
        unit: &Unit,
        unit_for: UnitFor,
        state: &State<'_, '_>,
    ) -> CargoResult<Vec<UnitDep>>

Expand description

Returns the dependencies needed to run a build script.

The `unit` provided must represent an execution of a build script, and the returned set of units must all be run before `unit` is run.