C++: Make the platform support work without the "std" feature

Add a experimental-platform feature that doesn't include skia
This commit is contained in:
Olivier Goffart 2023-07-07 13:28:43 +02:00 committed by Olivier Goffart
parent 03bca95bef
commit 4a505c6788
3 changed files with 152 additions and 143 deletions

View file

@ -10,7 +10,7 @@ use alloc::rc::Rc;
use core::ffi::c_void;
use i_slint_core::window::{ffi::WindowAdapterRcOpaque, WindowAdapter};
#[cfg(feature = "experimental")]
#[cfg(feature = "experimental-platform")]
pub mod platform;
#[cfg(feature = "i-slint-backend-selector")]