-
Notifications
You must be signed in to change notification settings - Fork 987
feat(install): add skip_std flag to allow skipping rust-std installation for custom targets
#4587
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
Conversation
djc
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So I'm not sure yet how/where the ToolchainSection::skip_std field makes it into the DistOptions?
da619eb to
c5b3caa
Compare
c5b3caa to
2d5fe7f
Compare
Yeah, sorry about that. I think it should be fine now, the flag flows through the chain where it should be applied as |
753df2e to
f656d33
Compare
|
(You'll need to rebase and squash before this can be merged.) |
52b54a3 to
70d2e69
Compare
70d2e69 to
0a784f5
Compare
|
Thanks a lot for your contribution and sorry for having taken so long to respond, but this seems to have indicated some bigger changes to be done beforehand, made pretty visible by the extra large number of parameters... I'll find some time to have another look. |
|
As I understand it, the original issue #4442 actually describes an inconsistency between I'm saying this because rustup can trigger toolchain installations in many places, and adding a flag regarding installation is like playing a round of whack-a-mole here. |
I did feel awkward writing this patch. So I presume this change actually propagates a bit deeper throughout the codebase than what my stopgap currently does? Should I just iterate on this PR or would you like me to open a new one? |
|
@cachebag Given the analysis in #4442 (comment) I'm not 100% sure of what to do next, but this PR wouldn't make it there anyway. As such I'm closing it for now, many thanks all the same! |
Closes #4442
Revision of #4585