Add optionalExtensions attribute to better handle missing nightly extensions #242
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation for this change
Add several functions to aid in the resolution of potentially missing nightly extensions
I wrote these up a while ago as a potential solution to #108 as mentioned here.
It's been a while since I looked at this, but I wanted to open this in order to gather feedback on potential solutions to this issue, be it work to get this PR working with what's currently in tree, or a different approach altogether.
I would love to see some of the features in rustup make their way here, but am uncertain of the best approach.
I have noted several options in the rust module in my configuration, but am curious what others think.
I think there are several questions need to be answered in order to resolve this.
However, I want to first verify whether this is something that should even be handled by this repository.
At the very least, it might be beneficial to provide such an option as an alternative resolution method for nightly extensions for those that wish to opt in to such behavior.