Skip to content

Support cargo build --load-average / -l like GNU make #7480

@devurandom

Description

@devurandom

Describe the problem you are trying to solve

I am trying to limit the load on my system while building Rust software.

Describe the solution you'd like

GNU make supports a make -l4 / make --load-average=4 parameter, that allows me to limit the target system load to 4 (e.g.). It would be nice, if Cargo would support the same.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-build-executionArea: anything dealing with executing the compilerA-jobserverArea: jobserver, concurrency, parallelismC-feature-requestCategory: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted`S-needs-designStatus: Needs someone to work further on the design for the feature or fix. NOT YET accepted.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions