diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-08-07 00:34:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-07 00:34:12 +0200 |
| commit | f00a55188fa72694b52229c0ba3025e72f9bc24a (patch) | |
| tree | e483ad82fc720bcaebe8abc23a466d8e10e02df0 /library/std/src/sys | |
| parent | 7e1360b1e133a2f8585a1dcd304936c7ffe49d9d (diff) | |
| parent | c2c46e3e305f82b7f4ce0afa4ff7977075421318 (diff) | |
| download | rust-f00a55188fa72694b52229c0ba3025e72f9bc24a.tar.gz rust-f00a55188fa72694b52229c0ba3025e72f9bc24a.zip | |
Rollup merge of #128539 - biabbas:deny_unsafe, r=workingjubilee
Forbid unused unsafe in vxworks-specific std modules Tracking issue #127747 Adding deny(unsafe_op_in_unsafe_fn) in VxWorks specific files did not cause any error. Most of VxWorks falls back on Unix libraries. So we'll have to wait for Unix changes. r? ```@workingjubilee```
Diffstat (limited to 'library/std/src/sys')
| -rw-r--r-- | library/std/src/sys/pal/unix/process/process_vxworks.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys/pal/unix/process/process_vxworks.rs b/library/std/src/sys/pal/unix/process/process_vxworks.rs index 6a9d8fab1d4..0477b3d9a70 100644 --- a/library/std/src/sys/pal/unix/process/process_vxworks.rs +++ b/library/std/src/sys/pal/unix/process/process_vxworks.rs @@ -1,3 +1,4 @@ +#![forbid(unsafe_op_in_unsafe_fn)] use libc::{self, c_char, c_int, RTP_ID}; use crate::io::{self, ErrorKind}; |
