sys, shared-memory: deny unsafe_op_in_unsafe_fn explicitly

can be removed in these and the other crates when switching to edition
2024

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2025-03-19 12:13:34 +01:00
parent d42810e3c1
commit 57eb5a36e9
2 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,5 @@
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#![deny(unsafe_op_in_unsafe_fn)]
use std::ffi::{CStr, CString};
use std::fs::File;

View File

@ -1,4 +1,5 @@
#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))]
#![deny(unsafe_op_in_unsafe_fn)]
use std::os::fd::{FromRawFd, OwnedFd};
use std::os::unix::ffi::OsStrExt;