-
Notifications
You must be signed in to change notification settings - Fork 209
Removed all usages of lazy_static and replaced them with once_cell #865
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
Those are not test failures: when that function fails the error message is logged with |
It was causing a lot of errors for me (as opposed to being silent), 29 of them to be exact. Without the patch I made I get lots of this, whereas after all tests pass
|
@Kixiron hmm? The tests you mention correctly pass for me on master. |
Those tests also work on this PR with the |
I removed the |
b22a540
to
027327a
Compare
lazy_static
withonce_cell
(using theparking_lot
feature for smaller, faster and non-poisoning locks)Tweakedload_rustc_resource_suffix
, it now substitutes a dummy rustc version for tests when one isn't found. This fixed a lot of intermittent (and essentially false) test failures for me, I can remove it if it's uneeded