Skip to content

Commit

Permalink
Merge pull request #1605 from sdroege/unix-mount-compat-api-no-windows
Browse files Browse the repository at this point in the history
gio: Only provide UNIX mount compat API on UNIX platforms
  • Loading branch information
sdroege authored Dec 17, 2024
2 parents 591bb05 + 77c64d8 commit 194eb7f
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 194eb7f

Please sign in to comment.