Skip to content

Conversation

@poszu
Copy link
Collaborator

@poszu poszu commented Aug 14, 2024

There's an equivalent of lazy_static! in the standard library since Rust 1.80: LazyLock.

@poszu poszu requested a review from lrettig as a code owner August 14, 2024 13:05
@poszu
Copy link
Collaborator Author

poszu commented Aug 14, 2024

I'm drafting it as it needs updating the Athena toolchain to Rust 1.80.

@poszu poszu marked this pull request as draft August 14, 2024 13:38
@lrettig
Copy link
Member

lrettig commented Aug 14, 2024

I'm drafting it as it needs updating the Athena toolchain to Rust 1.80.

Funny you should mention it :) athenavm/rustc-rv32e-toolchain#5

The toolchain has been upgraded to 1.80.0, and I plan to cut a release shortly

@poszu poszu marked this pull request as ready for review August 19, 2024 09:42
@lrettig lrettig changed the title use std::sync::LazyLock in place of lazy_static!` use std::sync::LazyLock in place of lazy_static! Sep 10, 2024
@lrettig lrettig merged commit b1cba08 into main Sep 10, 2024
@lrettig lrettig deleted the cleanup/remove-lazy_static-dep branch September 10, 2024 22:23
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