about summary refs log tree commit diff
path: root/library/std/src/sys/mod.rs
diff options
context:
space:
mode:
authorJubilee Young <workingjubilee@gmail.com>2024-07-14 16:43:50 -0700
committerJubilee Young <workingjubilee@gmail.com>2024-07-14 16:44:01 -0700
commit4572ed63899d5f692cf4f34ce374d634aa104c73 (patch)
treec7df9c1368049d72e5e32433c199de236f9f540d /library/std/src/sys/mod.rs
parentf8e4ac0760216724f69b1ebc369bf03da56a7520 (diff)
downloadrust-4572ed63899d5f692cf4f34ce374d634aa104c73.tar.gz
rust-4572ed63899d5f692cf4f34ce374d634aa104c73.zip
std: deny(unsafe_op_in_unsafe_fn) but allow sites
This provides a list of locations to hunt down issues in.
Diffstat (limited to 'library/std/src/sys/mod.rs')
-rw-r--r--library/std/src/sys/mod.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/std/src/sys/mod.rs b/library/std/src/sys/mod.rs
index 4092e6080d5..e50758ce00d 100644
--- a/library/std/src/sys/mod.rs
+++ b/library/std/src/sys/mod.rs
@@ -1,3 +1,5 @@
+#![allow(unsafe_op_in_unsafe_fn)]
+
 /// The PAL (platform abstraction layer) contains platform-specific abstractions
 /// for implementing the features in the other submodules, e.g. UNIX file
 /// descriptors.