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 multitarget #168

Merged
merged 1 commit into from
Sep 23, 2022
Merged

Support multitarget #168

merged 1 commit into from
Sep 23, 2022

Conversation

taiki-e
Copy link
Owner

@taiki-e taiki-e commented Sep 23, 2022

This supports multiple --target options. This uses cargo 1.64's multi-target builds on cargo 1.64+, otherwise fallback to perform command per targets.

$ cargo hack build --target x86_64-apple-darwin --target aarch64-apple-darwin --version-range 1.63..1.64
info: running `cargo +1.63 build --target x86_64-apple-darwin` on cargo-hack (1/3)
...
info: running `cargo +1.63 build --target aarch64-apple-darwin` on cargo-hack (2/3)
...
info: running `cargo +1.64 build --target x86_64-apple-darwin --target aarch64-apple-darwin` on cargo-hack (3/3)
...

Closes #167

@taiki-e taiki-e force-pushed the multitarget branch 4 times, most recently from 1d59627 to f2e7cdd Compare September 23, 2022 12:56
@taiki-e
Copy link
Owner Author

taiki-e commented Sep 23, 2022

bors r+

@bors
Copy link
Contributor

bors bot commented Sep 23, 2022

Build succeeded:

@bors bors bot merged commit 1cc3967 into main Sep 23, 2022
@bors bors bot deleted the multitarget branch September 23, 2022 13:10
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

Successfully merging this pull request may close these issues.

Support multi-target checks, builds, etc.
1 participant