rust-osdev / linked-list-allocator

Apache License 2.0
219 stars 53 forks source link

Fix build on nightly 1.43.0 (05-03-2020). #25

Closed Darksecond closed 4 years ago

Darksecond commented 4 years ago

The AllocRef trait has been changed slightly. See https://doc.rust-lang.org/nightly/std/alloc/trait.AllocRef.html#tymethod.alloc.

Fix #24

phil-opp commented 4 years ago

Thanks a lot!

Edit: For documentation: The AllocRef change was caused by https://github.com/rust-lang/rust/pull/69609.

phil-opp commented 4 years ago

In order to avoid issues like https://github.com/phil-opp/linked-list-allocator/issues/21, I'm going to bump the version to 0.8.0 for this. I will also make the AllocRef implementation optional behind a cargo feature to avoid future breakage for users that just need LockedHeap.

phil-opp commented 4 years ago

Released together with #27 as v0.8.0.