Only include is_symink for #[cfg(unix)]

This commit is contained in:
Sylvestre Ledru 2022-07-05 08:30:52 +02:00 committed by GitHub
parent df83d59b2d
commit 11bbf46647
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -16,6 +16,8 @@ use std::io;
use std::path::Path;
use uucore::display::Quotable;
use uucore::error::{set_exit_code, strip_errno, UResult};
#[cfg(unix)]
use uucore::fs::is_symlink;
use uucore::{format_usage, util_name};