🚑 Fix old use of LazyStatic

This commit is contained in:
Manuel Cillero 2024-07-28 00:14:33 +02:00
parent 9cfada4f5d
commit e157576581

View file

@ -26,8 +26,8 @@ macro_rules! static_files {
mod [<static_files_ $bundle>] { mod [<static_files_ $bundle>] {
include!(concat!(env!("OUT_DIR"), "/", stringify!($bundle), ".rs")); include!(concat!(env!("OUT_DIR"), "/", stringify!($bundle), ".rs"));
} }
static $STATIC: LazyStatic<HashMapResources> = LazyStatic::new([ static $STATIC: std::sync::LazyLock<HashMapResources> = std::sync::LazyLock::new(
<static_files_ $bundle>]::$bundle [<static_files_ $bundle>]::$bundle
); );
} }
}; };