Skip to main content

host_identity/sources/
illumos_stubs.rs

1//! Non-illumos/Solaris stub. Returns `Ok(None)` so the type can appear portably.
2
3use crate::source::SourceKind;
4use crate::sources::stub_macros::unit_stub;
5
6unit_stub!(
7    /// illumos / Solaris `hostid(1)` source (no-op on other targets).
8    IllumosHostId,
9    SourceKind::IllumosHostId
10);