Skip to content

Conversation

@ehuss
Copy link
Collaborator

@ehuss ehuss commented Jun 6, 2025

This switches the global static openssl probe to use LazyLock instead of Once. static mut refs are now an error in Rust 2024, and this is I believe the preferred method of doing something like this.

LazyLock was added in 1.80 (released 2024-07-25), so the minimum version has to be bumped to that.

This switches the global static openssl probe to use LazyLock instead of
Once. `static mut` refs are now an error in Rust 2024, and this is I
believe the preferred method of doing something like this.

LazyLock was added in 1.80 (released 2024-07-25), so the minimum version
has to be bumped to that.
@ehuss ehuss force-pushed the lazylock-probe branch from d9ec00e to 818c2b7 Compare June 6, 2025 21:26
@alexcrichton alexcrichton merged commit 03f18ba into alexcrichton:main Jun 6, 2025
14 checks passed
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