Description
error[E0658]: use of unstable library feature 'lazy_cell'
--> src/mesh.rs:2:5
|
2 | use std::sync::LazyLock;
| ^^^^^^^^^^^^^^^^^^^
|
= note: see issue #109736 rust-lang/rust#109736 for more information
= help: add #![feature(lazy_cell)]
to the crate attributes to enable
= note: this compiler was built on 2024-05-16; consider upgrading it if it is out of date
error[E0658]: use of unstable library feature 'lazy_cell'
--> src/mesh.rs:25:24
|
25 | static UPLINK_CONTEXT: LazyLock<Mutex<HashMap<u16, Vec>>> =
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: see issue #109736 rust-lang/rust#109736 for more information
= help: add #![feature(lazy_cell)]
to the crate attributes to enable
= note: this compiler was built on 2024-05-16; consider upgrading it if it is out of date
error[E0658]: use of unstable library feature 'lazy_cell'
--> src/mesh.rs:26:5
|
26 | LazyLock::new(|| Mutex::new(HashMap::new())); ....