mirror of
https://github.com/samsonjs/agate.git
synced 2026-03-25 09:05:50 +00:00
specify allow(dead_code) to be only on windows
This commit is contained in:
parent
8f346d7c28
commit
2abb15da7a
1 changed files with 1 additions and 1 deletions
|
|
@ -159,7 +159,7 @@ static ARGS: Lazy<Args> = Lazy::new(|| {
|
|||
|
||||
struct Args {
|
||||
addrs: Vec<SocketAddr>,
|
||||
#[allow(dead_code)] // only used on unix, so dead code on windows
|
||||
#[cfg_attr(target_os = "windows", allow(dead_code))] // only used on unix, so dead code on windows
|
||||
sockets: Vec<PathBuf>,
|
||||
content_dir: PathBuf,
|
||||
certs: Arc<certificates::CertStore>,
|
||||
|
|
|
|||
Loading…
Reference in a new issue