From 35fe9b4d1fa80207f839f4e4a95a7877b88bfa54 Mon Sep 17 00:00:00 2001 From: Daniel McNab <36049421+DJMcNab@users.noreply.github.com> Date: Sat, 25 Jun 2022 14:16:20 +0100 Subject: [PATCH] Disable the android example when not compiling for android --- piet-gpu/bin/android.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/piet-gpu/bin/android.rs b/piet-gpu/bin/android.rs index 968405e..75c7045 100644 --- a/piet-gpu/bin/android.rs +++ b/piet-gpu/bin/android.rs @@ -1,3 +1,4 @@ +#![cfg(target_os = "android")] //! Android example //! //! Run using `cargo apk run --example android`