Skip to content

Commit 9359874

Browse files
authored
Merge pull request #1606 from sdroege/0.20-backports
gio: Only provide UNIX mount compat API on UNIX platforms
2 parents 1b119dc + 6585430 commit 9359874

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gio/sys/src/manual.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ mod windows_streams {
174174
}
175175

176176
#[cfg(not(feature = "v2_84"))]
177+
#[cfg(target_family = "unix")]
177178
mod unix_mount_compat {
178179
#![allow(clippy::missing_safety_doc)]
179180

@@ -284,4 +285,5 @@ mod unix_mount_compat {
284285
}
285286

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

0 commit comments

Comments
 (0)