mirror of
https://github.com/zellij-org/zellij.git
synced 2026-10-11 22:50:07 +00:00
fix: resolve Windows compilation warnings (#4890)
- Consume unused CompilationResult from embed_resource::compile in build.rs - Gate std::io::prelude import with #[cfg(unix)] since it's only used by daemonize_web_server which is unix-only Co-authored-by: divens <[email protected]>
This commit is contained in:
@@ -35,6 +35,7 @@ use interprocess::unnamed_pipe::pipe;
|
||||
#[cfg(unix)]
|
||||
use nix::sys::stat::{umask, Mode};
|
||||
|
||||
#[cfg(unix)]
|
||||
use std::io::prelude::*;
|
||||
#[cfg(unix)]
|
||||
use std::io::{BufRead, BufReader};
|
||||
|
||||
Reference in New Issue
Block a user