Skip to content

Commit 7850a64

Browse files
author
B I Mohammed Abbas
committed
Forbid unsafe_op_in_unsafe_fn in vxworks specific os and sys files
1 parent f859e54 commit 7850a64

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Diff for: std/src/os/vxworks/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//! VxWorks-specific definitions
22
33
#![stable(feature = "raw_ext", since = "1.1.0")]
4+
#![forbid(unsafe_op_in_unsafe_fn)]
45

56
pub mod fs;
67
pub mod raw;

Diff for: std/src/sys/pal/unix/process/process_vxworks.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#![forbid(unsafe_op_in_unsafe_fn)]
12
use libc::{self, c_char, c_int, RTP_ID};
23

34
use crate::io::{self, ErrorKind};

0 commit comments

Comments
 (0)