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

fix: do not require alloc crate #44

Merged
merged 1 commit into from Dec 16, 2020

Conversation

haraldh
Copy link
Contributor

@haraldh haraldh commented Dec 15, 2020

Using core::alloc instead of alloc::alloc removes the need to
include alloc in this library. This enables users of this crate to use
Heap without alloc in no_std.

Using `core::alloc` instead of `alloc::alloc` removes the need to
include `alloc` in this library. This enables users of this crate to use
`Heap` without `alloc` in `no_std`.
@phil-opp
Copy link
Member

Makes complete sense, thanks!

@phil-opp phil-opp merged commit 8c71cd1 into rust-osdev:master Dec 16, 2020
phil-opp added a commit that referenced this pull request Dec 16, 2020
@phil-opp
Copy link
Member

Published as v0.8.8

@haraldh
Copy link
Contributor Author

haraldh commented Dec 16, 2020

@phil-opp Thank you!

@haraldh haraldh deleted the no_alloc_crate branch December 16, 2020 13:05
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.

None yet

2 participants