Skip to content

Replace lazy_static crate with std::sync::LazyLock#5898

Closed
mkrasnitski wants to merge 1 commit into
Vector35:devfrom
mkrasnitski:lazylock
Closed

Replace lazy_static crate with std::sync::LazyLock#5898
mkrasnitski wants to merge 1 commit into
Vector35:devfrom
mkrasnitski:lazylock

Conversation

@mkrasnitski
Copy link
Copy Markdown
Contributor

The LazyLock type was stabilized in Rust 1.80, and obsoletes the lazy_static crate for lazy initialization.

@emesare emesare self-assigned this Sep 3, 2024
@emesare emesare self-requested a review September 3, 2024 14:43
@CouleeApps CouleeApps added the Component: Rust API Issue needs changes to the Rust API label Oct 22, 2024
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Dec 15, 2024

CLA assistant check
All committers have signed the CLA.

@mkrasnitski mkrasnitski changed the base branch from rust_break_everything to dev December 15, 2024 00:58
@emesare
Copy link
Copy Markdown
Member

emesare commented Jan 2, 2025

Removed it with 1b6b9a3, I also just omitted that in favor of the Display impl so there is no need to create an empty BinaryView.

Blocking on https://github.com/Vector35/binaryninja-api/tree/rust_cleanup_0

@emesare emesare mentioned this pull request Jan 13, 2025
@mkrasnitski mkrasnitski deleted the lazylock branch January 20, 2025 01:02
@emesare emesare added this to the Gallifrey milestone Apr 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Component: Rust API Issue needs changes to the Rust API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants