Deny deny-unsafe_op_in_unsafe_fn on the crate level

This commit is contained in:
sourceturner
2026-01-21 00:32:17 +01:00
parent 582e6eba69
commit defd2ce7c3
96 changed files with 1 additions and 265 deletions
-3
View File
@@ -1,9 +1,6 @@
//! Helper functions for random() and friends, see https://pubs.opengroup.org/onlinepubs/7908799/xsh/initstate.html
// Ported from musl's implementation (src/prng/random.c)
// TODO: set this for entire crate when possible
#![deny(unsafe_op_in_unsafe_fn)]
use crate::{
platform::types::c_uint,
sync::{Mutex, MutexGuard},