diff options
| author | Jubilee Young <workingjubilee@gmail.com> | 2024-07-14 16:43:50 -0700 |
|---|---|---|
| committer | Jubilee Young <workingjubilee@gmail.com> | 2024-07-14 16:44:01 -0700 |
| commit | 4572ed63899d5f692cf4f34ce374d634aa104c73 (patch) | |
| tree | c7df9c1368049d72e5e32433c199de236f9f540d /library/std/src/sys/mod.rs | |
| parent | f8e4ac0760216724f69b1ebc369bf03da56a7520 (diff) | |
| download | rust-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.rs | 2 |
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. |
