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 committed Dec 11, 2024
1 parent 33c245b commit f7ca820
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/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 f7ca820

Please sign in to comment.