Skip to content

Commit

Permalink
Deny unused unsafe in vxworks specific stdlib files
Browse files Browse the repository at this point in the history
  • Loading branch information
B I Mohammed Abbas committed Aug 2, 2024
1 parent 425ae69 commit 7756dec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions library/std/src/os/vxworks/fs.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#![stable(feature = "metadata_ext", since = "1.1.0")]
#![deny(unsafe_op_in_unsafe_fn)]

use crate::fs::Metadata;
use crate::sys_common::AsInner;
Expand Down
1 change: 1 addition & 0 deletions library/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")]
#![deny(unsafe_op_in_unsafe_fn)]

pub mod fs;
pub mod raw;
1 change: 1 addition & 0 deletions library/std/src/os/vxworks/raw.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//! VxWorks-specific raw type definitions
#![stable(feature = "metadata_ext", since = "1.1.0")]
#![deny(unsafe_op_in_unsafe_fn)]

use crate::os::raw::c_ulong;

Expand Down
1 change: 1 addition & 0 deletions library/std/src/sys/pal/unix/process/process_vxworks.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![deny(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 7756dec

Please sign in to comment.