mirror of
https://github.com/rust-lang/rust.git
synced 2025-04-17 06:26:55 +00:00
Rollup merge of #127836 - workingjubilee:forbid-unsafe-ops-in-xous-uefi, r=tgross35
std: Forbid unwrapped unsafe ops in xous and uefi modules
This commit is contained in:
commit
1a1b44fcae
@ -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"]
|
||||
|
@ -1,5 +1,6 @@
|
||||
#![stable(feature = "rust1", since = "1.0.0")]
|
||||
#![doc(cfg(target_os = "xous"))]
|
||||
#![forbid(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
pub mod ffi;
|
||||
|
||||
|
@ -11,6 +11,7 @@
|
||||
//!
|
||||
//! [`OsStr`]: crate::ffi::OsStr
|
||||
//! [`OsString`]: crate::ffi::OsString
|
||||
#![forbid(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
pub mod alloc;
|
||||
pub mod args;
|
||||
|
@ -1,4 +1,4 @@
|
||||
#![deny(unsafe_op_in_unsafe_fn)]
|
||||
#![forbid(unsafe_op_in_unsafe_fn)]
|
||||
|
||||
pub mod alloc;
|
||||
#[path = "../unsupported/args.rs"]
|
||||
|
Loading…
Reference in New Issue
Block a user