Skip to content

Commit e586136

Browse files
sthibaulgitbot
authored and
gitbot
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 rust-lang#127747
1 parent 254fbd9 commit e586136

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

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)