Skip to content

Commit

Permalink
fix: duplicate mod
Browse files Browse the repository at this point in the history
  • Loading branch information
Berrysoft committed Jul 2, 2024
1 parent 9ab4661 commit 5964d24
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions compio-signal/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,10 @@
#[cfg(windows)]
pub mod windows;

#[cfg(unix)]
#[cfg_attr(target_os = "linux", path = "linux.rs")]
pub mod unix;

#[cfg(all(unix, not(target_os = "linux")))]
pub mod unix;

/// Completes when a "ctrl-c" notification is sent to the process.
pub async fn ctrl_c() -> std::io::Result<()> {
#[cfg(windows)]
Expand Down

0 comments on commit 5964d24

Please sign in to comment.