Allow unsafe_op_in_unsafe_fn
Because stdarch has a really large number of unsafe functions with single-line calls, `unsafe_op_in_unsafe_fn` would end up adding a lot of noise, so for now we will allow it to migrate to 2024.
This commit is contained in:
parent
2d74744885
commit
844a604bf0
5 changed files with 5 additions and 0 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#![allow(dead_code)]
|
||||
#![allow(unused_features)]
|
||||
#![allow(internal_features)]
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
#![deny(rust_2018_idioms)]
|
||||
#![feature(
|
||||
custom_inner_attributes,
|
||||
|
|
|
|||
|
|
@ -18,6 +18,7 @@
|
|||
#![feature(staged_api, doc_cfg, allow_internal_unstable)]
|
||||
#![deny(rust_2018_idioms)]
|
||||
#![allow(clippy::shadow_reuse)]
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
#![cfg_attr(test, allow(unused_imports))]
|
||||
#![no_std]
|
||||
#![allow(internal_features)]
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
//! each move.
|
||||
|
||||
#![allow(internal_features)]
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
#![feature(avx512_target_feature)]
|
||||
#![cfg_attr(target_arch = "x86", feature(stdarch_x86_avx512, stdarch_internal))]
|
||||
#![cfg_attr(target_arch = "x86_64", feature(stdarch_x86_avx512, stdarch_internal))]
|
||||
|
|
|
|||
|
|
@ -29,6 +29,7 @@
|
|||
clippy::cast_sign_loss,
|
||||
clippy::missing_docs_in_private_items
|
||||
)]
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use std::{
|
||||
io::{self, Read},
|
||||
|
|
|
|||
|
|
@ -1,6 +1,7 @@
|
|||
//! A simple slab allocator for pages in wasm
|
||||
|
||||
#![cfg(target_arch = "wasm32")]
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use std::ptr;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue