Skip to content

Conversation

@Expyron
Copy link

@Expyron Expyron commented Jun 16, 2025

No description provided.

@gdesmott
Copy link
Owner

Thanks for your patch.

I think LazyLock would be a better fit here but that requires Rust 1.80 while our MSRV is 1.78.

@Expyron
Copy link
Author

Expyron commented Jun 16, 2025

There's no need for LazyLock here.
Mutex::new was made const in Rust 1.63, so lazy initialization is no longer necessary.

@gdesmott
Copy link
Owner

@sdroege : what's the rationale for using LazyLock in gst then?

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