X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Flibunwind%2Flib.rs;h=18d41be77398b5736fe29430964bb786b23105e9;hb=94aa655a3c7a9dde612b5e65e5e8ec3c57d143a3;hp=8d916447128fc6b164d43c75ee204b61807e427d;hpb=4593f40b291e34fa84011a6513e52b3a80863a50;p=rust.git diff --git a/src/libunwind/lib.rs b/src/libunwind/lib.rs index 8d916447128..18d41be7739 100644 --- a/src/libunwind/lib.rs +++ b/src/libunwind/lib.rs @@ -1,12 +1,10 @@ #![no_std] #![unstable(feature = "panic_unwind", issue = "32837")] - #![feature(link_cfg)] #![feature(nll)] #![feature(staged_api)] #![feature(unwind_attributes)] #![feature(static_nobundle)] - #![cfg_attr(not(target_env = "msvc"), feature(libc))] cfg_if::cfg_if! { @@ -23,9 +21,9 @@ #[cfg(target_env = "musl")] #[link(name = "unwind", kind = "static", cfg(target_feature = "crt-static"))] #[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))] -extern {} +extern "C" {} #[cfg(target_os = "redox")] #[link(name = "gcc_eh", kind = "static-nobundle", cfg(target_feature = "crt-static"))] #[link(name = "gcc_s", cfg(not(target_feature = "crt-static")))] -extern {} +extern "C" {}