mirror of
https://github.com/slint-ui/slint.git
synced 2025-10-02 14:51:15 +00:00
Make the std feature optional in sixtyfps-rs
And tweak the MCU backend dependencie
This commit is contained in:
parent
bf84bb2ab6
commit
6004c4ee2f
5 changed files with 19 additions and 16 deletions
|
@ -51,6 +51,7 @@ impl sixtyfps_corelib::backend::Backend for Backend {
|
|||
})
|
||||
}
|
||||
|
||||
#[cfg(feature = "simulator")]
|
||||
fn register_font_from_memory(
|
||||
&'static self,
|
||||
_data: &'static [u8],
|
||||
|
@ -59,6 +60,7 @@ impl sixtyfps_corelib::backend::Backend for Backend {
|
|||
Err("Not implemented".into())
|
||||
}
|
||||
|
||||
#[cfg(feature = "simulator")]
|
||||
fn register_font_from_path(
|
||||
&'static self,
|
||||
_path: &std::path::Path,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue