add a warning about wry gnu support to dioxus desktop
This commit is contained in:
1 parent
c8a9a7b1d5
commit
0a3b794a1c
1 file changed
+11
@@ -19,6 +19,17 @@ mod webview;
|
|||||||
#[cfg(any(target_os = "ios", target_os = "android"))]
|
#[cfg(any(target_os = "ios", target_os = "android"))]
|
||||||
mod mobile_shortcut;
|
mod mobile_shortcut;
|
||||||
|
|
||||||
|
// WARN about wry support on windows gnu targets. GNU windows targets don't work well in wry currently
|
||||||
|
#[cfg(all(windows, target_env = "gnu"))]
|
||||||
|
mod wry_gnu_warning {
|
||||||
|
#[allow(dead_code)]
|
||||||
|
#[must_use = "GNU windows targets can have issues with Wry. Using the MSVC toolchain is recommended"]
|
||||||
|
struct WryGnuWarning;
|
||||||
|
const _: () = {
|
||||||
|
let dont_use_gnu = WryGnuWarning;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
use crate::query::QueryResult;
|
use crate::query::QueryResult;
|
||||||
pub use cfg::{Config, WindowCloseBehaviour};
|
pub use cfg::{Config, WindowCloseBehaviour};
|
||||||
pub use desktop_context::DesktopContext;
|
pub use desktop_context::DesktopContext;
|
||||||
|
|||||||
Reference in new issue
Block a user