Преглед на файлове

core_intrinsics is now also marked as internal feature, so fix the warning

Gary Guo преди 1 година
родител
ревизия
96888d814f
променени са 1 файла, в които са добавени 6 реда и са изтрити 1 реда
  1. 6 1
      src/lib.rs

+ 6 - 1
src/lib.rs

@@ -5,7 +5,12 @@
 // lang_items is an internal feature. `internal_features` lint is added recently
 // so also allow unknown lints to prevent warning in older nightly versions.
 #![cfg_attr(
-    any(feature = "personality", feature = "personality-dummy"),
+    any(
+        feature = "personality",
+        feature = "personality-dummy",
+        feature = "panicking",
+        feature = "panic-handler-dummy"
+    ),
     allow(internal_features)
 )]
 #![cfg_attr(