1
2
3
4
5
6
7
8
9
10
11
12
13
14
cfg_if::cfg_if! {
    if #[cfg(all(windows, target_arch = "x86_64"))] {
        mod winx64;
        pub use self::winx64::*;
    } else if #[cfg(all(windows, target_arch = "x86"))] {
        mod winx32;
        pub use self::winx32::*;
    } else if #[cfg(unix)] {
        mod systemv;
        pub use self::systemv::*;
    } else {
        compile_error!("unsupported target platform for unwind");
    }
}