uefi: Forbid unwrapped unsafe in platform modules

This commit is contained in:
Jubilee Young 2024-07-16 16:17:38 -07:00
parent b5a83a6f71
commit 586ef83f3f
2 changed files with 2 additions and 0 deletions

View File

@ -2,6 +2,7 @@
#![unstable(feature = "uefi_std", issue = "100499")]
#![doc(cfg(target_os = "uefi"))]
#![forbid(unsafe_op_in_unsafe_fn)]
pub mod env;
#[path = "../windows/ffi.rs"]

View File

@ -11,6 +11,7 @@
//!
//! [`OsStr`]: crate::ffi::OsStr
//! [`OsString`]: crate::ffi::OsString
#![forbid(unsafe_op_in_unsafe_fn)]
pub mod alloc;
pub mod args;