mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 00:34:06 +00:00
Rollup merge of #127873 - workingjubilee:forbid-unsafe-ops-for-kmc-solid, r=Amanieu
kmc-solid: `#![forbid(unsafe_op_in_unsafe_fn)]` The path logic _should_ handle the forbiddance in the itron sources correctly, despite them being an "out-of-line" module.
This commit is contained in:
commit
6b9982d4fb
@ -44,7 +44,6 @@
|
||||
//!
|
||||
//! [`BorrowedFd<'a>`]: crate::os::solid::io::BorrowedFd
|
||||
|
||||
#![deny(unsafe_op_in_unsafe_fn)]
|
||||
#![unstable(feature = "solid_ext", issue = "none")]
|
||||
|
||||
use crate::fmt;
|
||||
|
@ -1,4 +1,5 @@
|
||||
#![stable(feature = "rust1", since = "1.0.0")]
|
||||
#![forbid(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
pub mod ffi;
|
||||
pub mod io;
|
||||
|
@ -1,6 +1,6 @@
|
||||
#![allow(dead_code)]
|
||||
#![allow(missing_docs, nonstandard_style)]
|
||||
#![deny(unsafe_op_in_unsafe_fn)]
|
||||
#![forbid(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
pub mod abi;
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
#![forbid(unsafe_op_in_unsafe_fn)]
|
||||
use crate::ffi::OsStr;
|
||||
use crate::io;
|
||||
use crate::path::{Path, PathBuf, Prefix};
|
||||
|
@ -1,5 +1,6 @@
|
||||
//! Mutex implementation backed by μITRON mutexes. Assumes `acre_mtx` and
|
||||
//! `TA_INHERIT` are available.
|
||||
#![forbid(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::sys::pal::itron::{
|
||||
abi,
|
||||
|
@ -1,4 +1,5 @@
|
||||
//! A readers-writer lock implementation backed by the SOLID kernel extension.
|
||||
#![forbid(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
use crate::sys::pal::{
|
||||
abi,
|
||||
|
Loading…
Reference in New Issue
Block a user