xous: Forbid unwrapped unsafe in platform modules

This commit is contained in:
Jubilee Young 2024-07-16 16:14:21 -07:00
parent 24d2ac0b56
commit b5a83a6f71
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
#![stable(feature = "rust1", since = "1.0.0")] #![stable(feature = "rust1", since = "1.0.0")]
#![doc(cfg(target_os = "xous"))] #![doc(cfg(target_os = "xous"))]
#![forbid(unsafe_op_in_unsafe_fn)]
pub mod ffi; pub mod ffi;

View File

@ -1,4 +1,4 @@
#![deny(unsafe_op_in_unsafe_fn)] #![forbid(unsafe_op_in_unsafe_fn)]
pub mod alloc; pub mod alloc;
#[path = "../unsupported/args.rs"] #[path = "../unsupported/args.rs"]