mirror of
https://github.com/wezterm/wezterm.git
synced 2026-08-02 18:22:24 +08:00
fixup build for macos
This commit is contained in:
parent
e2e46cb50d
commit
a0b3932e6d
1
Cargo.lock
generated
1
Cargo.lock
generated
@ -2017,6 +2017,7 @@ dependencies = [
|
||||
"bintree",
|
||||
"config",
|
||||
"downcast-rs",
|
||||
"libc",
|
||||
"log",
|
||||
"portable-pty",
|
||||
"promise",
|
||||
|
||||
@ -12,6 +12,7 @@ async-trait = "0.1"
|
||||
bintree = { path = "../bintree" }
|
||||
config = { path = "../config" }
|
||||
downcast-rs = "1.0"
|
||||
libc = "0.2"
|
||||
log = "0.4"
|
||||
portable-pty = { path = "../pty", features = ["serde_support"]}
|
||||
promise = { path = "../promise" }
|
||||
|
||||
@ -1,6 +1,5 @@
|
||||
use ::window::*;
|
||||
use anyhow::Error;
|
||||
use config::configuration;
|
||||
pub use config::FrontEndSelection;
|
||||
use mux::{Mux, MuxNotification};
|
||||
use std::cell::RefCell;
|
||||
@ -49,7 +48,7 @@ impl GuiFrontEnd {
|
||||
pub fn try_new() -> anyhow::Result<Rc<GuiFrontEnd>> {
|
||||
#[cfg(all(unix, not(target_os = "macos")))]
|
||||
{
|
||||
if !configuration().enable_wayland {
|
||||
if !config::configuration().enable_wayland {
|
||||
Connection::disable_wayland();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user