mirror of
https://github.com/wez/wezterm.git
synced 2024-11-09 11:37:19 +03:00
fixup windows build for pty mod -> crate move
Refs: https://github.com/wez/wezterm/issues/27
This commit is contained in:
parent
7bf1d99d77
commit
7464965d1e
@ -20,6 +20,8 @@ default = []
|
||||
serde_support = ["serde", "serde_derive"]
|
||||
|
||||
[target."cfg(windows)".dependencies]
|
||||
bitflags = "1.0"
|
||||
lazy_static = "1.3"
|
||||
shared_library = "0.1"
|
||||
uds_windows = "0.1"
|
||||
winapi = { version = "0.3", features = [
|
||||
|
@ -1,5 +1,5 @@
|
||||
#[cfg(windows)]
|
||||
use failure::Error;
|
||||
use failure::{ensure, Error};
|
||||
use std::ffi::{OsStr, OsString};
|
||||
#[cfg(windows)]
|
||||
use std::os::windows::ffi::OsStrExt;
|
||||
|
@ -2,7 +2,7 @@ use super::ownedhandle::OwnedHandle;
|
||||
use super::WinChild;
|
||||
use crate::cmdbuilder::CommandBuilder;
|
||||
use crate::{Child, MasterPty, PtySize, PtySystem, SlavePty};
|
||||
use failure::Error;
|
||||
use failure::{bail, ensure, Error};
|
||||
use lazy_static::lazy_static;
|
||||
use shared_library::shared_library;
|
||||
use std::ffi::OsString;
|
||||
|
@ -1,9 +1,11 @@
|
||||
use super::ownedhandle::OwnedHandle;
|
||||
use super::WinChild;
|
||||
use crate::cmdbuilder::CommandBuilder;
|
||||
use crate::win::winpty::safe::{
|
||||
AgentFlags, MouseMode, SpawnConfig, SpawnFlags, Timeout, WinPty, WinPtyConfig,
|
||||
};
|
||||
use crate::{Child, MasterPty, PtySize, PtySystem, SlavePty};
|
||||
use failure::Error;
|
||||
use safe::{AgentFlags, MouseMode, SpawnConfig, SpawnFlags, Timeout, WinPty, WinPtyConfig};
|
||||
use failure::{bail, Error};
|
||||
use std::ffi::OsString;
|
||||
use std::os::windows::ffi::OsStringExt;
|
||||
use std::path::Path;
|
||||
|
@ -5,7 +5,7 @@
|
||||
use super::sys::*;
|
||||
use crate::win::ownedhandle::OwnedHandle;
|
||||
use bitflags::bitflags;
|
||||
use failure::{format_err, Error};
|
||||
use failure::{bail, ensure, format_err, Error};
|
||||
use std::ffi::{OsStr, OsString};
|
||||
use std::os::windows::ffi::{OsStrExt, OsStringExt};
|
||||
use std::ptr;
|
||||
|
Loading…
Reference in New Issue
Block a user