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

updating header to not include multiboot with alloc #195

Merged
merged 1 commit into from
Dec 16, 2023

Conversation

elbiazo
Copy link
Contributor

@elbiazo elbiazo commented Dec 12, 2023

Currently, when using multiboot2-header with no alloc (default-features = false), you wil get error: no global memory allocator found but one is required error. Reason being , when including multiboot2 for MBI tags, it will also include alloc and builder. This patch fixes that so that you can use multiboot2-header as intended without alloc when it is off.

@phip1611
Copy link
Collaborator

Thanks, good catch!

@phip1611 phip1611 merged commit 3a03204 into rust-osdev:main Dec 16, 2023
14 checks passed
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.

2 participants