Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add eager_init function. #645

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Zero-Tang
Copy link

This function will eagerly initialize the iced crate so that iced can be used even when memory allocators may become unavailable after their initialization stage.

I am not sure if my patch is 100% correct. I just searched all lazy_static! in the crate and referenced them in the eager_init functions. I only tested them in my case (Decoder /w MASM Formatter). Please review.

Eagerly initialize the iced crate.
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.

1 participant