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
This commit is contained in:
Samuel Thibault 2024-12-11 00:56:58 +01:00
parent 33c245b9e9
commit f7ca820f7d

View File

@ -1,6 +1,7 @@
//! Hurd-specific definitions
#![stable(feature = "raw_ext", since = "1.1.0")]
#![forbid(unsafe_op_in_unsafe_fn)]
pub mod fs;
pub mod raw;