mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-03 18:29:09 +00:00
feat: raise compiler error if musl is used (#8450)
This commit is contained in:
parent
cfde6f5c78
commit
14483a6e32
1 changed files with 3 additions and 0 deletions
|
@ -201,6 +201,9 @@ each instance will have their own instance of associated globals singletons.
|
|||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
#![allow(clippy::needless_doctest_main)] // We document how to write a main function
|
||||
|
||||
#[cfg(target_env = "musl")]
|
||||
compile_error!("Compiling with MUSL is not supported by this crate.");
|
||||
|
||||
extern crate alloc;
|
||||
|
||||
#[cfg(not(feature = "compat-1-2"))]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue