mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
fix: make hosted mode work on macos again
When ditherpunk flag is enabled, graphics-server cannot start. I suspect macOS doesn't tranfer thread-local variables when a new one is spawned, and this makes xous-names, logs crash. This commit adds a compile setting that will bypass ditherpunk thread settings on macOS as well, allowing developers who happen to run this OS to develop and prototype for betrusted again.
This commit is contained in:
parent
df17ed0f21
commit
8eab76de33
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ fn map_fonts() -> MemoryRange {
|
|||
fontregion
|
||||
}
|
||||
fn main () -> ! {
|
||||
#[cfg(not(feature="ditherpunk"))]
|
||||
#[cfg(any(not(feature = "ditherpunk"), target_os = "macos"))]
|
||||
wrapped_main();
|
||||
|
||||
#[cfg(feature="ditherpunk")]
|
||||
|
|
|
|||
Loading…
Reference in a new issue