update dependence version for gag to latest support windows (#17801)

* update dependence version for gag to leatest support windows

* fix compile on windows

* add Cargo.lock
This commit is contained in:
Govlzkoy
2021-06-08 14:17:16 +08:00
committed by GitHub
parent de9012ce36
commit e0ab5ee4f8
4 changed files with 19 additions and 8 deletions

View File

@ -61,7 +61,7 @@ pub fn redirect_stderr_to_file(logfile: Option<String>) -> Option<JoinHandle<()>
#[cfg(not(unix))]
{
println!("logging to a file is not supported on this platform");
()
None
}
}
};