From fdc04ddf1245bf42b085cb2b5c944b0bfce31a4e Mon Sep 17 00:00:00 2001 From: Jeremy Soller Date: Mon, 26 Aug 2024 13:22:04 -0600 Subject: [PATCH] fix(redox): use lazy_cell feature on redox --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 60e3cf19..9d4b6e8f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,6 +2,7 @@ // SPDX-License-Identifier: MPL-2.0 #![allow(clippy::module_name_repetitions)] +#![cfg_attr(target_os = "redox", feature(lazy_cell))] #[cfg(all(feature = "wayland", feature = "winit"))] compile_error!("cannot use `wayland` feature with `winit`");