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 = "solid_asp3" => {
17 mod solid;
18 pub use solid::*;
19 }
20 target_os = "teeos" => {
21 mod teeos;
22 pub use teeos::*;
23 }
24 target_os = "trusty" => {
25 mod trusty;
26 pub use trusty::*;
27 }
28 target_os = "uefi" => {
29 mod uefi;
30 pub use uefi::*;
31 }
32 target_os = "wasi" => {
33 mod wasi;
34 pub use wasi::*;
35 }
36 target_os = "xous" => {
37 mod xous;
38 pub use xous::*;
39 }
40 target_os = "zkvm" => {
41 mod zkvm;
42 pub use zkvm::*;
43 }
44 _ => {
45 mod unsupported;
46 pub use unsupported::*;
47 }
48}