rust_lib_demo: Update package dependencies to fix a build error
authorAnton Blanchard <anton@linux.ibm.com>
Thu, 16 Apr 2020 07:08:15 +0000 (17:08 +1000)
committerAnton Blanchard <anton@ozlabs.org>
Thu, 16 Apr 2020 07:16:37 +0000 (17:16 +1000)
I'm hitting a build error:

    error[E0050]: method `alloc` has 2 parameters but the declaration in trait `core::alloc::AllocRef::alloc` has 3

Updating the version of linked_list_allocator fixes it. I updated
heapless to while I was at it.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
rust_lib_demo/Cargo.toml

index bbfb8ff3d9f90dcebcda3b8d25f6b3d692af5799..b9c4be88417ecc33741494e1f3a5f49ee15be500 100644 (file)
@@ -14,11 +14,11 @@ crate_type = ["staticlib"]
 panic = "abort"
 
 [dependencies]
-heapless = "0.5.1"
+heapless = "0.5.4"
 cty = "0.2"
 #embedded-hal = "0.2.3"
 #panic-halt = "0.2.0"
-linked_list_allocator = "0.6"
+linked_list_allocator = "0.8.2"
 
 [profile.release]
 panic = "abort"