mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-01 06:11:16 +00:00
Don't use Lazy to initialize the ITEM_TREE, use OnceBox instead
Lazy needs std
This commit is contained in:
parent
6b60e832ed
commit
a201c31eaf
3 changed files with 7 additions and 7 deletions
|
@ -251,8 +251,7 @@ pub fn register_font_from_path<P: AsRef<std::path::Path>>(
|
|||
pub mod re_exports {
|
||||
pub use const_field_offset::{self, FieldOffsets, PinnedDrop};
|
||||
pub use core::iter::FromIterator;
|
||||
#[cfg(feature = "std")]
|
||||
pub use once_cell::sync::Lazy;
|
||||
pub use once_cell::race::OnceBox;
|
||||
pub use once_cell::unsync::OnceCell;
|
||||
pub use pin_weak::rc::PinWeak;
|
||||
pub use sixtyfps_corelib::animations::EasingCurve;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue