From 4a9df65aa03bd924755a10a79fb5bed76d5b8928 Mon Sep 17 00:00:00 2001 From: shivaraj-bh Date: Fri, 6 Sep 2024 11:59:33 +0530 Subject: [PATCH] omnix-init: use `lazy_cell` feature This is to bypass: error[E0658]: use of unstable library feature 'lazy_cell' --> crates/omnix-init/src/config.rs:1:48 | 1 | use std::{collections::HashMap, path::PathBuf, sync::LazyLock}; | ^^^^^^^^^^^^^^ | = note: see issue #109736 for more information = help: add `#![feature(lazy_cell)]` to the crate attributes to enable = note: this compiler was built on 2024-05-11; consider upgrading it if it is out of date --- crates/omnix-init/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/omnix-init/src/lib.rs b/crates/omnix-init/src/lib.rs index 8ce6d8f7..a3a48c5e 100644 --- a/crates/omnix-init/src/lib.rs +++ b/crates/omnix-init/src/lib.rs @@ -1,3 +1,4 @@ +#![feature(lazy_cell)] pub mod action; pub mod config; pub mod core;