Allow internal_features lint when building with "unstable"

This commit is contained in:
Amanieu d'Antras
2024-02-21 00:58:14 +00:00
parent cb2ffdf543
commit 64ef452c99
+2 -1
View File
@@ -1,7 +1,8 @@
//! libm in pure Rust
#![deny(warnings)]
#![no_std]
#![cfg_attr(all(feature = "unstable"), feature(core_intrinsics))]
#![cfg_attr(feature = "unstable", allow(internal_features))]
#![cfg_attr(feature = "unstable", feature(core_intrinsics))]
#![allow(clippy::unreadable_literal)]
#![allow(clippy::many_single_char_names)]
#![allow(clippy::needless_return)]