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 flags on the CLI #8167

Merged
merged 1 commit into from
Apr 29, 2020

Commits on Apr 28, 2020

  1. Support multiple --target flags on the CLI

    This commit refactors the internals of Cargo to no longer have a
    singular `--target` flag (and singular `requested_target` kind throught)
    but to instead have a list. The semantics of multiple `--target` flags
    is to build the selected targets for each of the input `--target` flag
    inputs.
    
    For now this is gated behind `-Zmultitarget` as an unstable features,
    since I'm not entirely sure this is the interface we want. In general
    it'd be great if we had a way to simply specify `Unit` structures of
    what to build on the CLI, but we're in general very far away from that,
    so I figured that this is probably sufficient at least for testing for
    now.
    
    cc rust-lang#8156
    alexcrichton committed Apr 28, 2020
    Configuration menu
    Copy the full SHA
    3fd2814 View commit details
    Browse the repository at this point in the history