uefi: Forbid unwrapped unsafe in platform modules
This commit is contained in:
parent
b5a83a6f71
commit
586ef83f3f
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
#![unstable(feature = "uefi_std", issue = "100499")]
|
#![unstable(feature = "uefi_std", issue = "100499")]
|
||||||
#![doc(cfg(target_os = "uefi"))]
|
#![doc(cfg(target_os = "uefi"))]
|
||||||
|
#![forbid(unsafe_op_in_unsafe_fn)]
|
||||||
|
|
||||||
pub mod env;
|
pub mod env;
|
||||||
#[path = "../windows/ffi.rs"]
|
#[path = "../windows/ffi.rs"]
|
||||||
|
@ -11,6 +11,7 @@
|
|||||||
//!
|
//!
|
||||||
//! [`OsStr`]: crate::ffi::OsStr
|
//! [`OsStr`]: crate::ffi::OsStr
|
||||||
//! [`OsString`]: crate::ffi::OsString
|
//! [`OsString`]: crate::ffi::OsString
|
||||||
|
#![forbid(unsafe_op_in_unsafe_fn)]
|
||||||
|
|
||||||
pub mod alloc;
|
pub mod alloc;
|
||||||
pub mod args;
|
pub mod args;
|
||||||
|
Loading…
Reference in New Issue
Block a user