Skip to content

Commit

Permalink
Forbid unsafe_op_in_unsafe_fn in vxworks specific os and sys files
Browse files Browse the repository at this point in the history
  • Loading branch information
B I Mohammed Abbas committed Aug 3, 2024
1 parent f859e54 commit 7850a64
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/vxworks/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
//! VxWorks-specific definitions
#![stable(feature = "raw_ext", since = "1.1.0")]
#![forbid(unsafe_op_in_unsafe_fn)]

pub mod fs;
pub mod raw;
1 change: 1 addition & 0 deletions std/src/sys/pal/unix/process/process_vxworks.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![forbid(unsafe_op_in_unsafe_fn)]
use libc::{self, c_char, c_int, RTP_ID};

use crate::io::{self, ErrorKind};
Expand Down

0 comments on commit 7850a64

Please sign in to comment.