memfaultc_sys/
lib.rs

1//
2// Copyright (c) Memfault, Inc.
3// See License.txt for details
4// main functions
5
6#[cfg(feature = "coredump")]
7pub mod coredump;
8
9#[cfg(all(feature = "systemd", not(target_os = "macos")))]
10pub mod systemd;
11#[cfg(all(feature = "systemd", target_os = "macos"))]
12pub mod systemd_mock;
13
14#[cfg(all(feature = "systemd", target_os = "macos"))]
15pub use systemd_mock as systemd;
16
17#[cfg(feature = "swupdate")]
18pub mod swupdate;