Skip to content

Conversation

@haraldh
Copy link
Contributor

@haraldh haraldh commented Dec 10, 2020

Due to nightly changes, AllocRef was renamed Allocator and the
methods don't take a &mut self anymore. Therefore Heap cannot
implement Allocator anymore. Implement it for LockedHeap instead,
which requires the use_spin feature.

Due to nightly changes, `AllocRef` was renamed `Allocator` and the
methods don't take a `&mut self` anymore. Therefore `Heap` cannot
implement `Allocator` anymore. Implement it for `LockedHeap` instead,
which requires the `use_spin` feature.
@phil-opp
Copy link
Member

Thanks a lot!

@phil-opp phil-opp merged commit ec2423f into rust-osdev:master Dec 10, 2020
phil-opp added a commit that referenced this pull request Dec 10, 2020
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