From 8a39407cafda27661b3f88aa63a0586948cde9e0 Mon Sep 17 00:00:00 2001 From: klensy Date: Mon, 7 Aug 2023 17:52:27 +0300 Subject: [PATCH] allow internal_features, added in https://github.com/rust-lang/rust/pull/108955 --- examples/intrinsics.rs | 1 + src/lib.rs | 1 + 2 files changed, 2 insertions(+) diff --git a/examples/intrinsics.rs b/examples/intrinsics.rs index 19bb569b..54b703df 100644 --- a/examples/intrinsics.rs +++ b/examples/intrinsics.rs @@ -5,6 +5,7 @@ #![allow(unused_features)] #![allow(stable_features)] // bench_black_box feature is stable, leaving for backcompat +#![allow(internal_features)] #![cfg_attr(thumb, no_main)] #![deny(dead_code)] #![feature(bench_black_box)] diff --git a/src/lib.rs b/src/lib.rs index 73cb3d50..2ef28fc6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -14,6 +14,7 @@ #![no_builtins] #![no_std] #![allow(unused_features)] +#![allow(internal_features)] // We use `u128` in a whole bunch of places which we currently agree with the // compiler on ABIs and such, so we should be "good enough" for now and changes // to the `u128` ABI will be reflected here.