rustls-platform-verifier icon indicating copy to clipboard operation
rustls-platform-verifier copied to clipboard

Eagerly build root store on miscellaneous Unix platforms

Open djc opened this issue 7 months ago • 2 comments

In https://github.com/rust-lang/rustup/issues/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 avatar Apr 25 '25 20:04 djc

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

cpu avatar Apr 28 '25 13:04 cpu

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

Yes, done.

djc avatar Apr 28 '25 13:04 djc