mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-08 04:38:31 +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)]
|
#![cfg_attr(not(feature = "std"), no_std)]
|
||||||
#![allow(clippy::needless_doctest_main)] // We document how to write a main function
|
#![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;
|
extern crate alloc;
|
||||||
|
|
||||||
#[cfg(not(feature = "compat-1-2"))]
|
#[cfg(not(feature = "compat-1-2"))]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue