Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display all Cargo target executables in cargo metadata or similar command #2508

Closed
bruno-medeiros opened this issue Mar 22, 2016 · 4 comments
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-metadata

Comments

@bruno-medeiros
Copy link

Enhancement: a command to display all Cargo targets (including implicit test targets such as bin-tests and lib-tests) and their associated executable.

See also: #1924

@alexcrichton
Copy link
Member

cc @matklad

@matklad
Copy link
Member

matklad commented Mar 22, 2016

Enhancement: a command to display all Cargo targets

cargo metadata already does this.

and their associated executable.

There can be several executables for one target (target/debug/foo, target/release/foo).

@matklad
Copy link
Member

matklad commented Mar 22, 2016

I just realized that currently the test binary for #[test] tests aren't included in cargo read-manifest output.

Ah, yes, now I also realize this.

@epage
Copy link
Contributor

epage commented Oct 23, 2023

Going to close in favor of #5866 as it has more discussion

@epage epage closed this as not planned Won't fix, can't repro, duplicate, stale Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-metadata
Projects
None yet
Development

No branches or pull requests

5 participants