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,8 +1,5 @@
// https://pubs.opengroup.org/onlinepubs/9699919799/functions/getline.html
// TODO: set this for entire crate when possible
#![deny(unsafe_op_in_unsafe_fn)]
use alloc::{string::String, vec::Vec};
use core::{fmt::Write, intrinsics::unlikely, ops::Deref, ptr};
-3
View File
@@ -2,9 +2,6 @@
//!
//! See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/stdio.h.html>.
// TODO: set this for entire crate when possible
#![deny(unsafe_op_in_unsafe_fn)]
use alloc::{
borrow::{Borrow, BorrowMut},
boxed::Box,
-3
View File
@@ -1,6 +1,3 @@
// TODO: set this for entire crate when possible
#![deny(unsafe_op_in_unsafe_fn)]
// TODO: reuse more code with the wide printf impl
use crate::{
c_str::{self, CStr, NulStr},