Skip to content

refactor: lazy_static -> LazyLock#1524

Merged
antonilol merged 1 commit intoRust-SDL2:masterfrom
Rudxain:lazy-static-lock
Mar 22, 2026
Merged

refactor: lazy_static -> LazyLock#1524
antonilol merged 1 commit intoRust-SDL2:masterfrom
Rudxain:lazy-static-lock

Conversation

@Rudxain
Copy link
Copy Markdown
Contributor

@Rudxain Rudxain commented Mar 11, 2026

Copy link
Copy Markdown
Contributor

@antonilol antonilol left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LazyLock was stabilized more than 1.5 years ago (Rust 1.80). We indeed say we target the latest stable version of Rust so this should be completely fine.

@antonilol
Copy link
Copy Markdown
Contributor

@Cobrand @jagprog5 Any comments? I will be merging this soon.

@antonilol antonilol merged commit 7aed3d8 into Rust-SDL2:master Mar 22, 2026
11 of 17 checks passed
@Rudxain Rudxain deleted the lazy-static-lock branch March 23, 2026 16:14
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.

replace lazy_static by LazyLock build failed because of lazy_static

2 participants