Skip to content

Ability to build multiple targets including the native target. #11306

Open
@wdanilo

Description

@wdanilo

Problem

Hi, currently we can build using the following options:

cargo clippy -Zmultitarget --target aarch64-apple-darwin --target wasm32-unknown-unknown ...

It's great, but I want to share run configurations with my team, and they are using different operating systems. What we dream of would be the ability to do something along the lines of:

cargo clippy -Zmultitarget --target native --target wasm32-unknown-unknown ...

Would it be possible?

Proposed Solution

Support of --target native or something similar.

Notes

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-cross-compilingArea: using --target flag for other platformsC-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