Skip to content

Cargo build unit count exposure #16943

@notchapplez

Description

@notchapplez

Problem

Hey! I currently have a project running that requires reading the cargo build unit count (the one that is shown in the bottom bar when building). While coding, I noticed there was no reliable way to read the build unit count, which could be probably used for a lot of stuff.

Proposed Solution

I wish to have the build unit count be exposed using arguments so it is easier for developers to read the count and use it in their project as I have been struggling for the last 5 hours with getting an exact count

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-build-executionArea: anything dealing with executing the compilerA-json-outputArea: JSON message outputC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-triageStatus: This issue is waiting on initial triage.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions