Skip to content

Commit e189d3b

Browse files
xous: Forbid unwrapped unsafe in platform modules
1 parent a778c83 commit e189d3b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

std/src/os/xous/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#![stable(feature = "rust1", since = "1.0.0")]
22
#![doc(cfg(target_os = "xous"))]
3+
#![forbid(unsafe_op_in_unsafe_fn)]
34

45
pub mod ffi;
56

std/src/sys/pal/xous/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#![deny(unsafe_op_in_unsafe_fn)]
1+
#![forbid(unsafe_op_in_unsafe_fn)]
22

33
pub mod alloc;
44
#[path = "../unsupported/args.rs"]

0 commit comments

Comments
 (0)