Closed Bug 1796543 Opened 3 years ago Closed 3 years ago

Add cargo udeps to ./mach cargo subcommands

Categories

(Firefox Build System :: Mach Core, enhancement)

enhancement

Tracking

(firefox109 fixed)

RESOLVED FIXED
109 Branch
Tracking Status
firefox109 --- fixed

People

(Reporter: arthur.carcano, Assigned: arthur.carcano)

References

Details

Attachments

(1 file, 1 obsolete file)

Steps to reproduce:

N/A

Actual results:

N/A

Expected results:

./mach cargo udeps should run udeps on crates, similarly to what ./mach cargo check is doing

In preparation of further work incorporating cargo tools
that require to be run on the nightly toolchain (such as
cargo udeps).

Assignee: nobody → arthur.carcano
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

This adds a subcommand ./mach cargo udeps with the following
sub command arguments:

Sub Command Arguments:
--all-crates Check all of the crates in the tree.
crates The crate name(s) to check.
--jobs [jobs], -j [jobs]
Run the tests in parallel using multiple
processes.
-v, --verbose Verbose output.
--message-format-json
Emit error messages as JSON.
--expect-unused Do not return an error exit code if udeps
detects unused dependencies.

Depends on D159837

Attachment #9299446 - Attachment is obsolete: true
Depends on: 1801196
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/647cc7311587 Add a subcommand cargo udeps to ./mach. r=glandium,firefox-build-system-reviewers
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 109 Branch
Depends on: 1802097
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: