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 f3dc12e97f
commit cdf7ac490c

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)]