Skip to content

Commit

Permalink
gio: Only provide UNIX mount compat API on UNIX platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
sdroege committed Dec 17, 2024
1 parent 1b119dc commit 7bbe0d9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gio/sys/src/manual.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,7 @@ mod windows_streams {
}

#[cfg(not(feature = "v2_84"))]
#[cfg(target_family = "unix")]
mod unix_mount_compat {
#![allow(clippy::missing_safety_doc)]

Expand Down Expand Up @@ -284,4 +285,5 @@ mod unix_mount_compat {
}

#[cfg(not(feature = "v2_84"))]
#[cfg(target_family = "unix")]
pub use unix_mount_compat::*;

0 comments on commit 7bbe0d9

Please sign in to comment.