Skip to main content

unused_build_dependencies_no_build_rs

Function unused_build_dependencies_no_build_rs 

Source
pub fn unused_build_dependencies_no_build_rs(
    pkg: &Package,
    manifest_path: &Path,
    cargo_lints: &TomlToolLints,
    error_count: &mut usize,
    gctx: &GlobalContext,
) -> CargoResult<()>
Expand description

Lint for [build-dependencies] without a build.rs

These are always unused.

This must be determined independent of the compiler since there are no build targets to pass to rustc to report on these.