[package]
name = "lang_items"
version = "0.1.0"
authors = [
  "Tock Project Developers <tock-dev@googlegroups.com>",
  "Guillaume Endignoux <guillaumee@google.com>",
]
license = "MIT/Apache-2.0"
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 }

[features]
debug_allocations = []
panic_console = []
std = []

[package]
name = "lang_items"
version = "0.1.0"
authors = [
  "Tock Project Developers <tock-dev@googlegroups.com>",
  "Guillaume Endignoux <guillaumee@google.com>",
]
license = "MIT/Apache-2.0"
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.7", default-features = false, features = ["const_mut_refs"] }

[features]
debug_allocations = []
panic_console = []
std = []

Use the new const_mut_refs default feature of linked_list_allocator
Use the new const_mut_refs default feature of linked_list_allocator

This is necessary for Heap::empty() to be const.
