Use the new const_mut_refs default feature of linked_list_allocator

This is necessary for Heap::empty() to be const.
This commit is contained in:
Julien Cretin
2020-12-10 16:20:26 +01:00
parent d4b20a5acc
commit 7a641d6391

View File

@@ -11,7 +11,7 @@ edition = "2018"
[dependencies]
libtock_core = { path = "../../third_party/libtock-rs/core", default-features = false, features = ["alloc_init", "custom_panic_handler", "custom_alloc_error_handler"] }
libtock_drivers = { path = "../libtock-drivers" }
linked_list_allocator = { version = "=0.8.1", default-features = false }
linked_list_allocator = { version = "0.8.7", default-features = false, features = ["const_mut_refs"] }
[features]
debug_allocations = []