Add #![allow(unsafe_op_in_unsafe_fn)]
in sys/hermit
This commit is contained in:
parent
3a46cca4ae
commit
d94258e83e
@ -1,3 +1,5 @@
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::alloc::{GlobalAlloc, Layout, System};
|
||||
use crate::ptr;
|
||||
use crate::sys::hermit::abi;
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::ffi::OsString;
|
||||
use crate::marker::PhantomData;
|
||||
use crate::vec;
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::ffi::c_void;
|
||||
use crate::ptr;
|
||||
use crate::sync::atomic::{AtomicUsize, Ordering::SeqCst};
|
||||
|
@ -1,4 +1,5 @@
|
||||
#![unstable(reason = "not public", issue = "none", feature = "fd")]
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::io::{self, ErrorKind, Read};
|
||||
use crate::mem;
|
||||
|
@ -13,6 +13,8 @@
|
||||
//! compiling for wasm. That way it's a compile time error for something that's
|
||||
//! guaranteed to be a runtime error!
|
||||
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::intrinsics;
|
||||
use crate::os::raw::c_char;
|
||||
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::ffi::c_void;
|
||||
use crate::ptr;
|
||||
use crate::sys::hermit::abi;
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::collections::HashMap;
|
||||
use crate::error::Error as StdError;
|
||||
use crate::ffi::{CStr, OsStr, OsString};
|
||||
|
@ -1,3 +1,5 @@
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::cell::UnsafeCell;
|
||||
use crate::sys::condvar::Condvar;
|
||||
use crate::sys::mutex::Mutex;
|
||||
|
@ -1,4 +1,5 @@
|
||||
#![allow(dead_code)]
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::ffi::CStr;
|
||||
use crate::io;
|
||||
|
@ -1,5 +1,6 @@
|
||||
#![cfg(target_thread_local)]
|
||||
#![unstable(feature = "thread_local_internals", issue = "none")]
|
||||
#![allow(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
// Simplify dtor registration by using a list of destructors.
|
||||
// The this solution works like the implementation of macOS and
|
||||
|
Loading…
x
Reference in New Issue
Block a user