Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: fix build on latest Rust nightlies
The unstable `once_cell` feature has been partially stabilized. Sadly, the stabilized API does not include `LazyLock`, which has been gated under `lazy_cell` instead. `LazyLock` is the struct we are interested in. For now, let's change our dependency on the `once_cell` feature to `lazy_cell` instead. Builds will break if `lazy_cell` ever gets stabilized and removed, so we'll react promptly to that. Ref: rust-lang/rust#105587
- Loading branch information