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