Closed cyphar closed 1 month ago
Ideally we would switch to std::sync::LazyLock but that was only stabilised in Rust 1.80.0, so we have to make do with once_cell. At least once_cell has basically the same API as the merged-into-std API, so we can switch over very easily.
Signed-off-by: Aleksa Sarai cyphar@cyphar.com
Ideally we would switch to std::sync::LazyLock but that was only stabilised in Rust 1.80.0, so we have to make do with once_cell. At least once_cell has basically the same API as the merged-into-std API, so we can switch over very easily.
Signed-off-by: Aleksa Sarai cyphar@cyphar.com