From a8bc0b90488b9bbfa48e5b52621424ae60e7a8e5 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Wed, 13 Sep 2017 11:59:56 +0200 Subject: [PATCH] Remove the `use platform_not_supported` hack --- src/platform/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/mod.rs b/src/platform/mod.rs index 999a9f3203..713f89e1fd 100644 --- a/src/platform/mod.rs +++ b/src/platform/mod.rs @@ -19,4 +19,4 @@ mod platform; #[cfg(all(not(target_os = "ios"), not(target_os = "windows"), not(target_os = "linux"), not(target_os = "macos"), not(target_os = "android"), not(target_os = "dragonfly"), not(target_os = "freebsd"), not(target_os = "openbsd")))] -use this_platform_is_not_supported; +compile_error!("The platform you're compiling for is not supported by winit");