Skip to content

Commit 77c64d8

Browse files
committed
gio: Only provide UNIX mount compat API on UNIX platforms
See https://gitlab.gnome.org/GNOME/librsvg/-/issues/1126#note_2298554
1 parent 591bb05 commit 77c64d8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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)