]> git.lizzy.rs Git - rust.git/blobdiff - src/libunwind/lib.rs
Auto merge of #63233 - RalfJung:get_unchecked, r=Centril
[rust.git] / src / libunwind / lib.rs
index 0ccffea317053ded4942fb2fc547ea6f2f13d7c7..b9ce71b6b847ec1dddc6bcb331d62ac1afe0ad8c 100644 (file)
@@ -1,8 +1,6 @@
 #![no_std]
 #![unstable(feature = "panic_unwind", issue = "32837")]
 
-#![deny(rust_2018_idioms)]
-
 #![feature(link_cfg)]
 #![feature(nll)]
 #![feature(staged_api)]
@@ -11,10 +9,7 @@
 
 #![cfg_attr(not(target_env = "msvc"), feature(libc))]
 
-#[macro_use]
-mod macros;
-
-cfg_if! {
+cfg_if::cfg_if! {
     if #[cfg(target_env = "msvc")] {
         // no extra unwinder support needed
     } else if #[cfg(all(target_arch = "wasm32", not(target_os = "emscripten")))] {