diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2024-12-12 08:07:02 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-12 08:07:02 +0100 |
| commit | 454ed9b68185bb8b752e1c6e49a90cc34530969f (patch) | |
| tree | 6c75987eb6232afb9b585e2ab82f3ad2670fd6f4 | |
| parent | 1d784225f1779c6339f2c2b9b8af502e3062f7d9 (diff) | |
| parent | f7ca820f7d3cc9f10041e1df6a91293cbe1ed402 (diff) | |
Rollup merge of #134155 - sthibaul:unsafe_op_in_unsafe_fn, r=tgross35
Forbid `unsafe_op_in_unsafe_fn` for Hurd Tracking issue https://github.com/rust-lang/rust/issues/127747
| -rw-r--r-- | library/std/src/os/hurd/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/os/hurd/mod.rs b/library/std/src/os/hurd/mod.rs index aee86c7f616..6cd50aeada1 100644 --- a/library/std/src/os/hurd/mod.rs +++ b/library/std/src/os/hurd/mod.rs @@ -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; |
