Skip to content

Conversation

@ratmice
Copy link
Collaborator

@ratmice ratmice commented Jun 2, 2025

This allows us to remove the dependency on lazy_static since LazyLock is provided by std. Since lazy_static can obscure linting of unused variables some unused values could also be removed.

LazyLock was stabilized in 1.80, (older than the 1.85 required by bincode)
so this seemed like an improvement to me as it keeps much the same code structure, and since it
implements Deref it seems like we don't even need to change any call sites.

This allows us to remove the dependency on `lazy_static` since
`LazyLock` is provided by `std`. Since `lazy_static` can obscure
linting of unused variables some unused values could be removed.
@ltratt ltratt added this pull request to the merge queue Jun 2, 2025
Merged via the queue into softdevteam:master with commit f7397a7 Jun 2, 2025
2 checks passed
@ratmice ratmice deleted the lazylock branch June 2, 2025 10:39
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.

2 participants