Skip to content

Commit f7ca820

Browse files
committed
Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
Adding it did not cause any error. Most of this falls back on Unix already. See #127747
1 parent 33c245b commit f7ca820

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library/std/src/os/hurd/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
//! Hurd-specific definitions
22
33
#![stable(feature = "raw_ext", since = "1.1.0")]
4+
#![forbid(unsafe_op_in_unsafe_fn)]
45

56
pub mod fs;
67
pub mod raw;

0 commit comments

Comments
 (0)