1
1
mirror of https://github.com/wez/wezterm.git synced 2024-11-23 23:21:08 +03:00

fix build for windows

This commit is contained in:
Wez Furlong 2020-09-10 15:00:43 -07:00
parent aae287c4f2
commit 3090c9bb68
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View File

@ -991,7 +991,7 @@ checksum = "5c85295147490b8fcf2ea3d104080a105a8b2c63f9c319e82c02d8e952388919"
[[package]] [[package]]
name = "filedescriptor" name = "filedescriptor"
version = "0.7.2" version = "0.7.3"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"libc", "libc",

View File

@ -178,7 +178,7 @@ fn client_thread(
&mut poll_array, &mut poll_array,
Some(std::time::Duration::from_millis(1000)), Some(std::time::Duration::from_millis(1000)),
) { ) {
let reason = format!("Error while polling: {} {:?}", err, poll_array); let reason = format!("Error while polling: {}", err);
log::error!("{}", reason); log::error!("{}", reason);
for (_, mut promise) in promises.into_iter() { for (_, mut promise) in promises.into_iter() {
promise.result(Err(anyhow!("{}", reason))); promise.result(Err(anyhow!("{}", reason)));