Skip to content

Add equivalent of once_cell::sync::Lazy (or std::lazy::SyncLazy) #263

@taiki-e

Description

@taiki-e

loom currently provides lazy_static macro, but tokio and others are moving to once_cell (e.g., tokio-rs/tokio#3187). It would be nice if loom could provide an equivalent of once_cell::sync::Lazy or std::lazy::SyncLazy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions