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:
2
third_party/lang-items/Cargo.toml
vendored
2
third_party/lang-items/Cargo.toml
vendored
@@ -11,7 +11,7 @@ edition = "2018"
|
|||||||
[dependencies]
|
[dependencies]
|
||||||
libtock_core = { path = "../../third_party/libtock-rs/core", default-features = false, features = ["alloc_init", "custom_panic_handler", "custom_alloc_error_handler"] }
|
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" }
|
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]
|
[features]
|
||||||
debug_allocations = []
|
debug_allocations = []
|
||||||
|
|||||||
Reference in New Issue
Block a user