forked from model-checking/verify-rust-std
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Forbid unsafe_op_in_unsafe_fn in vxworks specific os and sys files
- Loading branch information
B I Mohammed Abbas
committed
Aug 3, 2024
1 parent
f859e54
commit 7850a64
Showing
2 changed files
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}; | ||
|