We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f9a29c7 commit d77c929Copy full SHA for d77c929
utils/host_info/src/backends/mod.rs
@@ -32,6 +32,13 @@ use icu_locale_core::{
32
33
use crate::error::HostInfoError;
34
35
+#[cfg(any(
36
+ target_os = "android",
37
+ target_os = "ios",
38
+ target_os = "linux",
39
+ target_os = "macos",
40
+ target_os = "windows"
41
+))]
42
mod shared;
43
44
#[cfg(target_os = "android")]
utils/host_info/src/backends/unavailable.rs
@@ -2,10 +2,7 @@
2
// called LICENSE at the top level of the ICU4X source tree
3
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).
4
5
-use crate::{
6
- backends::{HostInfoBackend, RawHostInfoBackend},
7
- error::HostInfoError,
8
-};
+use crate::backends::{HostInfoBackend, RawHostInfoBackend};
9
10
pub struct UnavailableHostInfoBackend;
11
0 commit comments