Skip to content

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

djc
Copy link
Member

@djc djc commented Apr 25, 2025

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.

@djc djc requested review from cpu, ctz and complexspaces April 25, 2025 20:19
@djc djc force-pushed the eager-verifier branch 9 times, most recently from 3bed7df to 7c24d86 Compare April 28, 2025 08:28
@djc djc force-pushed the eager-verifier branch 2 times, most recently from 394fdf9 to 73d99b4 Compare April 28, 2025 13:36
@cpu
Copy link
Member

cpu commented Apr 28, 2025

Is there some larger context/motivation that can be called out in the PR desc?

@djc
Copy link
Member Author

djc commented Apr 28, 2025

Is there some larger context/motivation that can be called out in the PR desc?

Yes, done.

@djc djc force-pushed the eager-verifier branch 2 times, most recently from f5d22a6 to b16ce14 Compare May 1, 2025 11:13
@djc djc force-pushed the eager-verifier branch from 12926b6 to 01697ba Compare May 1, 2025 11:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants