Skip to content

Commit

Permalink
omnix-init: use lazy_cell feature
Browse files Browse the repository at this point in the history
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
<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-11; consider upgrading it
if it is out of date
  • Loading branch information
shivaraj-bh committed Sep 6, 2024
1 parent c566f7a commit 4a9df65
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/omnix-init/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![feature(lazy_cell)]
pub mod action;
pub mod config;
pub mod core;
Expand Down

0 comments on commit 4a9df65

Please sign in to comment.