rust/library/std
Trevor Gross 56f95559da
Rollup merge of #127763 - ChrisDenton:safe-unsafe-unsafe, r=tgross35
Make more Windows functions `#![deny(unsafe_op_in_unsafe_fn)]`

As part of #127747, I've evaluated some more Windows functions and added `unsafe` blocks where necessary. Some are just trivial wrappers that "inherit" the full unsafety of their function, but for others I've added some safety comments. A few functions weren't actually unsafe at all. I think they were just using `unsafe fn` to avoid an `unsafe {}` block.

I'm not touching `c.rs` yet because that is partially being addressed by another PR and also I have plans to further reduce the number of wrapper functions we have in there.

r? libs
2024-07-17 04:05:59 -05:00
..
benches also test parts of std 2024-04-07 10:05:57 +02:00
src Rollup merge of #127763 - ChrisDenton:safe-unsafe-unsafe, r=tgross35 2024-07-17 04:05:59 -05:00
tests Add blank lines after module-level //! comments. 2024-06-20 09:23:20 +10:00
build.rs std: Set has_reliable_f16 to false for MIPS targets in build.rs 2024-07-03 13:52:06 +02:00
Cargo.toml Add experimental raw-dylib feature to std 2024-07-05 16:11:25 +00:00