2 #![unstable(feature = "panic_unwind", issue = "32837")]
5 #![feature(staged_api)]
6 #![feature(unwind_attributes)]
7 #![feature(static_nobundle)]
8 #![cfg_attr(not(target_env = "msvc"), feature(libc))]
11 if #[cfg(target_env = "msvc")] {
12 // no extra unwinder support needed
13 } else if #[cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))] {
14 // no unwinder on the system!
21 #[cfg(target_env = "musl")]
22 #[link(name = "unwind", kind = "static", cfg(target_feature = "crt-static"))]
23 #[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))]
26 #[cfg(target_os = "redox")]
27 #[link(name = "gcc_eh", kind = "static-nobundle", cfg(target_feature = "crt-static"))]
28 #[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))]