-
Notifications
You must be signed in to change notification settings - Fork 61
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
Fix build on nightly #299
Fix build on nightly #299
Conversation
The ecosystem has largely moved from the former to the latter.
6f32e5a
to
5e84380
Compare
rustc-nightly-feature CI still fails |
Still in favor of moving off of lazy-static, so that's fine. Can we not use once_cell from the stdlib? |
Probably - I wasn't sure about MSRV. I'm working on bisecting the nightly linking failure. |
Filed rust-lang/rust#134825 for the rustc-nightly-feature failure. |
1.70 is totally fine for MSRV! |
I think we'd need 1.80.0: https://doc.rust-lang.org/stable/std/sync/struct.LazyLock.html. |
We can use OnceLock. We also currently do not guarantee an MSRV anyway, but I would like to avoid bumping too much if it's unnecessary, and OnceLock works here. |
#300. |
r? @Manishearth