Forbid unsafe_op_in_unsafe_fn in vxworks specific os and sys files

This commit is contained in:
B I Mohammed Abbas 2024-08-03 08:00:39 +05:30
parent 425ae69588
commit c2c46e3e30
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -1,3 +1,4 @@
#![forbid(unsafe_op_in_unsafe_fn)]
use libc::{self, c_char, c_int, RTP_ID};
use crate::io::{self, ErrorKind};