-
Notifications
You must be signed in to change notification settings - Fork 28
Eagerly build root store on miscellaneous Unix platforms #171
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
3bed7df
to
7c24d86
Compare
394fdf9
to
73d99b4
Compare
Is there some larger context/motivation that can be called out in the PR desc? |
Yes, done. |
f5d22a6
to
b16ce14
Compare
01697ba
to
e13f0b6
Compare
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.
This looks wonderful overall! I just have a few small refactor suggestions.
6f57c65
to
2ee9d22
Compare
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.
LGTM
In rust-lang/rustup#4305 we found that errors due to not being able to find platform roots (on Fedora) were being silently ignored partly due to the lazy loading of roots in the
others::Verifier
used on Linux and other non-darwin/Android Unices. @complexspaces worked around the immediate issue in #169, but there doesn't seem to be a clear motivation for lazy-loading, and simplifying it has the additional benefit of removing the need for the once_cell dependency on most platforms.