From 0bbc0436e80ebd8378832fe69454d0d7b95d31c0 Mon Sep 17 00:00:00 2001 From: maik Date: Fri, 21 Jun 2019 10:24:23 +0200 Subject: [PATCH] Change target to target_os --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index db99b3e..8da083b 100644 --- a/build.rs +++ b/build.rs @@ -16,7 +16,7 @@ fn is_external_enabled() -> bool { .is_some() } fn main() { - if !(cfg!(target = "macos") || cfg!(target = "ios")) { + if !(cfg!(target_os = "macos") || cfg!(target_os = "ios")) { panic!("ash-molten can only be built on macOS or of iOS"); } // The 'external' feature was not enabled. Molten will be built automaticaly.