Skip to content

Conversation

andreiltd
Copy link
Member

Do not run any complex tasks until the global allocator is initialized.

Do not run any complex tasks until the global allocator is initialized.

Signed-off-by: Tomasz Andrzejak <andreiltd@gmail.com>
@andreiltd andreiltd added the kind/enhancement For PRs adding features, improving functionality, docs, tests, etc. label Jul 31, 2025
@andreiltd andreiltd changed the title fix(guest-gin): move logger initialization fix(guest-bin): move logger initialization Jul 31, 2025
Copy link
Contributor

@ludfjig ludfjig left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I'm curious what issues this caused?

@andreiltd
Copy link
Member Author

I'm curious what issues this caused?

Oh I didn't run into any specific issue with this code. I just thought it was sketchy to run logger initialization without initializing allocator first. 🙂

@ludfjig ludfjig merged commit 1e23ca0 into hyperlight-dev:main Aug 1, 2025
33 of 34 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement For PRs adding features, improving functionality, docs, tests, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants