From 96888d814ff64cfe0ba2cda46dfb7606238d873b Mon Sep 17 00:00:00 2001 From: Gary Guo Date: Sat, 30 Dec 2023 21:31:25 +0000 Subject: [PATCH] core_intrinsics is now also marked as internal feature, so fix the warning --- src/lib.rs | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 44ecc37..23e776e 100644 --- a/src/lib.rs +++ b/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(