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