From 1c8ba615f3bd7f3f834af5ccb37e8216d4c6834d Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sun, 15 Sep 2019 19:06:20 -0700 Subject: [PATCH] fix build on macos --- src/frontend/software/mod.rs | 2 +- window/src/os/macos/connection.rs | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/frontend/software/mod.rs b/src/frontend/software/mod.rs index db4646f69..30b057e1f 100644 --- a/src/frontend/software/mod.rs +++ b/src/frontend/software/mod.rs @@ -4,11 +4,11 @@ use crate::frontend::FrontEnd; use crate::mux::tab::Tab; use crate::mux::window::WindowId as MuxWindowId; use crate::mux::Mux; +use ::window::*; use failure::Fallible; use promise::{BasicExecutor, Executor, SpawnFunc}; use std::rc::Rc; use std::sync::Arc; -use ::window::*; mod termwindow; diff --git a/window/src/os/macos/connection.rs b/window/src/os/macos/connection.rs index cd99a0edf..fb65033c0 100644 --- a/window/src/os/macos/connection.rs +++ b/window/src/os/macos/connection.rs @@ -58,6 +58,10 @@ impl Connection { } })); } + + pub fn executor() -> impl BasicExecutor { + SpawnQueueExecutor {} + } } impl ConnectionOps for Connection {