diff --git a/src/main.rs b/src/main.rs index 7dbab6e..3e7fb88 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,8 +3,8 @@ #![feature(used_with_arg)] #![feature(likely_unlikely)] #![feature(box_as_ptr)] -#![expect(internal_features)] -#![feature(core_intrinsics)] +#![allow(internal_features)] +#![cfg_attr(test, feature(core_intrinsics))] #![feature(custom_test_frameworks)] #![reexport_test_harness_main = "test_main"] #![test_runner(crate::testing::test_runner)]