about summary refs log tree commit diff
path: root/library/std/src/sys_common
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_common
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_common')
-rw-r--r--library/std/src/sys_common/mod.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/library/std/src/sys_common/mod.rs b/library/std/src/sys_common/mod.rs
index 60ee405ecaa..fc4d5592981 100644
--- a/library/std/src/sys_common/mod.rs
+++ b/library/std/src/sys_common/mod.rs
@@ -16,6 +16,7 @@
 
 #![allow(missing_docs)]
 #![allow(missing_debug_implementations)]
+#![allow(unsafe_op_in_unsafe_fn)]
 
 #[cfg(test)]
 mod tests;