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

Support multiple --target arguments #537

Open
sunshowers opened this issue Sep 27, 2022 · 1 comment
Open

Support multiple --target arguments #537

sunshowers opened this issue Sep 27, 2022 · 1 comment

Comments

@sunshowers
Copy link
Member

Rust 1.64 includes support for multiple --target or build.target arguments. Nextest should support them.

Some challenges:

  1. Cargo's JSON messages don't contain the name of the target. However, it can be extracted from the relative path in detect_base_output_dir.
  2. We need to extend the platform() predicate to handle specific targets. Maybe something like platform(target) to select all targets, and platform(target:<triple>) for a specific target.
  3. Metadata serialization will need to account for these additional cases.
@sunshowers
Copy link
Member Author

#538 has a WIP impl for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant