google / OpenSK

OpenSK is an open-source implementation for security keys written in Rust that supports both FIDO U2F and FIDO2 standards.
Apache License 2.0
2.98k stars 289 forks source link

error[E0432]: unresolved import `alloc::alloc::AllocRef` #13

Closed garyexplains closed 4 years ago

garyexplains commented 4 years ago

When I run: board=nrf52840dk ./deploy.sh app os

I get the following:

No apps are installed on the board

   Compiling linked_list_allocator v0.6.6
error[E0432]: unresolved import `alloc::alloc::AllocRef`
  --> /home/gary/.cargo/registry/src/github.com-1ecc6299db9ec823/linked_list_allocator-0.6.6/src/lib.rs:14:20
   |
14 | use alloc::alloc::{AllocRef, AllocErr, Layout};
   |                    ^^^^^^^^ no `AllocRef` in `alloc`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0432`.
error: could not compile `linked_list_allocator`.
joostd commented 4 years ago

This should be fixed with https://github.com/google/OpenSK/pull/10 that was merged a couple of hours ago. Just update (or run setup.sh) to obtain the fix.

garyexplains commented 4 years ago

Thanks, working now.