background_hang_monitor/
lib.rs1#![deny(unsafe_code)]
6
7pub mod background_hang_monitor;
8mod sampler;
9#[cfg(all(
10 feature = "sampler",
11 target_os = "linux",
12 not(any(
13 target_arch = "arm",
14 target_arch = "aarch64",
15 target_env = "ohos",
16 target_env = "musl"
17 ))
18))]
19mod sampler_linux;
20#[cfg(all(feature = "sampler", target_os = "android"))]
21mod sampler_linux;
22#[cfg(all(feature = "sampler", target_os = "macos"))]
23mod sampler_mac;
24#[cfg(all(feature = "sampler", target_os = "windows"))]
25mod sampler_windows;
26
27pub use self::background_hang_monitor::*;