kmc-solid: forbid(unsafe_op_in_unsafe_fn)

This commit is contained in:
Jubilee Young 2024-07-17 12:57:44 -07:00
parent f00f850919
commit 1d83da8847
5 changed files with 4 additions and 2 deletions

View File

@ -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;

View File

@ -1,4 +1,5 @@
#![stable(feature = "rust1", since = "1.0.0")]
#![forbid(unsafe_op_in_unsafe_fn)]
pub mod ffi;
pub mod io;

View File

@ -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;

View File

@ -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,

View File

@ -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,