-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Add --target HOST
alias for host target
#6777
Conversation
This alias is useful when the default target is overridden in a `.cargo/config` file. It provides a platform-independent way to reset the target back to the host target.
r? @dwijnand (rust_highfive has picked a reviewer for you, use r? to override) |
Thanks for the PR and sorry for the delay! I'm not personally convinced that we would want this feature, but others can of course voice their thoughts too! The semantics here aren't actually quite right where for various reasons |
No worries, thanks for reviewing!
Ok, makes sense. It seemed like a small addition, but I now see that it is more complicated than that. I think there are better solutions to my problem (for example #6784), so I'm gonna close this PR and #6775 for now. |
This adds a
HOST
alias for the host target. It is useful when the default target is overridden in a.cargo/config
file. It provides a platform-independent way to reset the target back to the host target. See #6775 for more motivation.Closes #6775