Skip to content

Commit

Permalink
Add #![allow(internal_unstable)]
Browse files Browse the repository at this point in the history
This is required to avoid build failures when using rustc feature
intended only for use by the standard library.
  • Loading branch information
Amanieu committed Aug 11, 2023
1 parent 195e56f commit 031d004
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions crates/core_arch/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#![allow(improper_ctypes_definitions)]
#![allow(dead_code)]
#![allow(unused_features)]
#![allow(internal_features)]
#![deny(rust_2018_idioms)]
#![feature(
custom_inner_attributes,
Expand Down
2 changes: 0 additions & 2 deletions crates/std_detect/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@
#![deny(clippy::missing_inline_in_public_items)]
#![cfg_attr(test, allow(unused_imports))]
#![no_std]
// FIXME(Nilstrieb): Remove this once the compiler in stdarch CI has the internal_features lint.
#![allow(unknown_lints)]
#![allow(internal_features)]

#[cfg(test)]
Expand Down

0 comments on commit 031d004

Please sign in to comment.