Skip to content

Commit

Permalink
uefi: Forbid unwrapped unsafe in platform modules
Browse files Browse the repository at this point in the history
  • Loading branch information
workingjubilee committed Jul 16, 2024
1 parent e189d3b commit a752e3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions std/src/os/uefi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
1 change: 1 addition & 0 deletions std/src/sys/pal/uefi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
//!
//! [`OsStr`]: crate::ffi::OsStr
//! [`OsString`]: crate::ffi::OsString
#![forbid(unsafe_op_in_unsafe_fn)]

pub mod alloc;
pub mod args;
Expand Down

0 comments on commit a752e3b

Please sign in to comment.