1#![forbid(unsafe_op_in_unsafe_fn)]
2
3cfg_select! {
4    any(target_family = "unix", target_os = "hermit") => {
5        mod unix;
6        pub use unix::*;
7    }
8    target_os = "windows" => {
9        mod windows;
10        pub use windows::*;
11    }
12    all(target_vendor = "fortanix", target_env = "sgx") => {
13        mod sgx;
14        pub use sgx::*;
15    }
16    target_os = "motor" => {
17        mod motor;
18        pub use motor::*;
19    }
20    target_os = "solid_asp3" => {
21        mod solid;
22        pub use solid::*;
23    }
24    target_os = "teeos" => {
25        mod teeos;
26        pub use teeos::*;
27    }
28    target_os = "trusty" => {
29        mod trusty;
30        pub use trusty::*;
31    }
32    target_os = "uefi" => {
33        mod uefi;
34        pub use uefi::*;
35    }
36    target_os = "vexos" => {
37        mod vexos;
38        pub use vexos::*;
39    }
40    all(target_os = "wasi", target_env = "p1") => {
41        mod wasip1;
42        pub use wasip1::*;
43    }
44    all(target_os = "wasi", any(target_env = "p2", target_env = "p3")) => {
45        mod wasip2;
46        pub use wasip2::*;
47    }
48    target_os = "xous" => {
49        mod xous;
50        pub use xous::*;
51    }
52    target_os = "zkvm" => {
53        mod zkvm;
54        pub use zkvm::*;
55    }
56    _ => {
57        mod unsupported;
58        pub use unsupported::*;
59    }
60}