From 6eb6fae0610c395f584e42d39052fb04739df3cf Mon Sep 17 00:00:00 2001 From: Sean Cross Date: Fri, 28 Apr 2023 00:05:28 +0700 Subject: [PATCH] graphics-server: apply macos patch to fix build This fixes the build of `graphics-server` on macos. This is recommended by @bunnie in https://github.com/betrusted-io/xous-core/issues/373#issuecomment-1526015174 Signed-off-by: Sean Cross --- services/graphics-server/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/graphics-server/src/main.rs b/services/graphics-server/src/main.rs index 0daa71e2f..3623dcc16 100644 --- a/services/graphics-server/src/main.rs +++ b/services/graphics-server/src/main.rs @@ -97,7 +97,7 @@ fn main () -> ! { // loop from a thread other than TID 1. Let the backend claim this thread // if this may be the case. backend::claim_main_thread(move |main_thread_token| { - #[cfg(any(not(feature = "ditherpunk"), target_os = "macos"))] + #[cfg(not(feature = "ditherpunk"))] wrapped_main(main_thread_token); #[cfg(feature="ditherpunk")]