Forbid unsafe_op_in_unsafe_fn in vxworks specific os and sys files · patricklam/verify-rust-std@7850a64 (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Commit 7850a64

author

B I Mohammed Abbas

committed

Forbid unsafe_op_in_unsafe_fn in vxworks specific os and sys files

File tree

2 files changed

lines changed

2 files changed

lines changed

Lines changed: 1 addition & 0 deletions

Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
1 1 //! VxWorks-specific definitions
2 2
3 3 #![stable(feature = "raw_ext", since = "1.1.0")]
4 +#![forbid(unsafe_op_in_unsafe_fn)]
4 5
5 6 pub mod fs;
6 7 pub mod raw;

Lines changed: 1 addition & 0 deletions

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