From 1d0b5bcfbd1426cd10b4dd7a191674392ba87d5f Mon Sep 17 00:00:00 2001 From: tomaka Date: Fri, 15 Sep 2017 15:45:45 +0200 Subject: [PATCH] Remove the `use platform_not_supported` hack (#285) --- 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 975d4301..e0ebbf1a 100644 --- a/src/platform/mod.rs +++ b/src/platform/mod.rs @@ -22,4 +22,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"), not(target_os = "emscripten")))] -use this_platform_is_not_supported; +compile_error!("The platform you're compiling for is not supported by winit");