mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-02 04:48:27 +00:00
winit: Bail out with an error message if no renderer is selected
This commit is contained in:
parent
1d04b8665f
commit
db867ac18f
1 changed files with 3 additions and 0 deletions
|
|
@ -4,6 +4,9 @@
|
|||
#![doc = include_str!("README.md")]
|
||||
#![doc(html_logo_url = "https://slint-ui.com/logo/slint-logo-square-light.svg")]
|
||||
|
||||
#[cfg(all(not(feature = "renderer-femtovg"), not(feature = "renderer-skia")))]
|
||||
compile_error!("Please select a feature to build with the winit event loop: `renderer-femtovg`, `renderer-skia`");
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
use std::rc::Rc;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue