Skip to content

Commit

Permalink
Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files
Browse files Browse the repository at this point in the history
Adding it did not cause any error. Most of this falls back on Unix already.

See rust-lang#127747
  • Loading branch information
sthibaul authored and gitbot committed Feb 20, 2025
1 parent d86d6bf commit 229ab45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions std/src/os/hurd/mod.rs
Original file line number Diff line number Diff line change
@@ -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;

0 comments on commit 229ab45

Please sign in to comment.