1cfg_select! {
2 target_os = "hermit" => {
3 mod hermit;
4 pub use hermit::*;
5 }
6 target_os = "motor" => {
7 mod motor;
8 pub use motor::*;
9 }
10 all(target_vendor = "fortanix", target_env = "sgx") => {
11 mod sgx;
12 pub use sgx::*;
13 }
14 target_os = "solid_asp3" => {
15 mod solid;
16 pub use solid::*;
17 }
18 target_os = "uefi" => {
19 mod uefi;
20 pub use uefi::*;
21 }
22 any(target_family = "unix", target_os = "wasi", target_os = "teeos") => {
23 mod unix;
24 pub use unix::*;
25 }
26 target_os = "windows" => {
27 mod windows;
28 pub use windows::*;
29 }
30 target_os = "xous" => {
31 mod xous;
32 pub use xous::*;
33 }
34 any(
35 target_os = "vexos",
36 target_family = "wasm",
37 target_os = "zkvm",
38 target_os = "trusty",
39 ) => {
40 mod generic;
41 pub use generic::*;
42 }
43}