Skip to content

Make CompilationFiles struct public for crates.io users #8145

Open
@est31

Description

@est31

The CompilationFiles struct contains metadata/target_short_hash methods to obtain metadata that is used as postfix for filenames of rlib files. This info is very relevant for the binary-dep-depinfo based cargo-udeps backend. It is exposed only to crates.io users via parsing the CLI args passed via the Executor trait but only if the compilation is actually done. In rerun scenarios where dependencies are still fresh, the executor trait is not used. Therefore, could CompilationFiles maybe be made public? Thanks.

See https://github.com/est31/cargo-udeps/blob/ee91e4710b8519b742b61301f9ccddebeaeaeed8/src/lib.rs#L379

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cargo-apiArea: cargo-the-library API and internal code issuesA-layoutArea: target output directory layout, naming, and organizationS-propose-closeStatus: A team member has nominated this for closing, pending further input from the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions