From 7d843c6b2497efcf8853ca9ff1ff4aa0f785bb1a Mon Sep 17 00:00:00 2001 From: Wez Furlong Date: Sat, 24 Oct 2020 17:00:07 -0700 Subject: [PATCH] wezterm: fixup win32 build for wezterm-gui changes refs: #301 --- Cargo.lock | 2 ++ wezterm-client/Cargo.toml | 3 +++ wezterm-font/Cargo.toml | 1 + 3 files changed, 6 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index 54b86de3b..3f433e65e 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4126,6 +4126,7 @@ dependencies = [ "termwiz", "textwrap 0.12.1", "thiserror", + "uds_windows", "url", "wezterm-term", ] @@ -4156,6 +4157,7 @@ dependencies = [ "unicode-segmentation", "walkdir", "wezterm-term", + "winapi 0.3.9", "window", ] diff --git a/wezterm-client/Cargo.toml b/wezterm-client/Cargo.toml index e6a4215db..749853d5b 100644 --- a/wezterm-client/Cargo.toml +++ b/wezterm-client/Cargo.toml @@ -30,3 +30,6 @@ filedescriptor = { version="0.7", path = "../filedescriptor" } futures = "0.3" metrics = { version="0.12", features=["std"]} textwrap = "0.12" + +[target."cfg(windows)".dependencies] +uds_windows = "0.1" diff --git a/wezterm-font/Cargo.toml b/wezterm-font/Cargo.toml index 33dd3595f..377737c71 100644 --- a/wezterm-font/Cargo.toml +++ b/wezterm-font/Cargo.toml @@ -36,6 +36,7 @@ font-kit = "0.5" [target."cfg(windows)".dependencies] dwrote = "0.9" +winapi = "0.3" [target.'cfg(target_os = "macos")'.dependencies] core-foundation = "0.7"