Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions utils/host_info/src/backends/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,13 @@ use icu_locale_core::{

use crate::error::HostInfoError;

#[cfg(any(
target_os = "android",
target_os = "ios",
target_os = "linux",
target_os = "macos",
target_os = "windows"
))]
mod shared;

#[cfg(target_os = "android")]
Expand Down
5 changes: 1 addition & 4 deletions utils/host_info/src/backends/unavailable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
// called LICENSE at the top level of the ICU4X source tree
// (online at: https://github.com/unicode-org/icu4x/blob/main/LICENSE ).

use crate::{
backends::{HostInfoBackend, RawHostInfoBackend},
error::HostInfoError,
};
use crate::backends::{HostInfoBackend, RawHostInfoBackend};

pub struct UnavailableHostInfoBackend;

Expand Down
Loading