Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret committed Jan 2, 2025
1 parent 8195e32 commit 27116e0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/sys.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,8 +153,6 @@ impl Sys for RealSys {

#[cfg(any(unix, target_os = "wasi", target_os = "redox"))]
fn is_valid_executable(&self, path: &Path) -> io::Result<bool> {
use std::io;

use rustix::fs as rfs;
rfs::access(path, rfs::Access::EXEC_OK)
.map(|_| true)
Expand Down

0 comments on commit 27116e0

Please sign in to comment.