-
Notifications
You must be signed in to change notification settings - Fork 413
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
Allow specifying a target for a given rule #489
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It should be possible to override the current target on a per-rule basis, as some rules compile binaries to run on specific platforms. For example, I want to compile AWS Lambda functions targeting x86_64-unknown-linux-musl on a Mac. The rust_binary adds a
--target=x86_64-apple-darwin
arg to rustc, which I can't override.The text was updated successfully, but these errors were encountered: