error: `<core::cell::UnsafeCell<T>>::new` is not yet stable as a const fn
--> /.../.cargo/registry/src/github.com-1ecc6299db9ec823/bare-metal-0.1.0/src/lib.rs:63:24
|
63 | Mutex { inner: UnsafeCell::new(value) }
| ^^^^^^^^^^^^^^^^^^^^^^
|
= help: in Nightly builds, add `#![feature(const_unsafe_cell_new)]` to the crate attributes to enable
error: aborting due to previous error
error: Could not compile `bare-metal`.
Fixes build failure: