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 6936a3a commit 04589bf
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 04589bf

Please sign in to comment.