rust/library/std
Matthias Krüger f3a7c3fd3b
Rollup merge of #128131 - ChrisDenton:stuff, r=workingjubilee
Import `c_void` rather than using the full path

Follow up to #128092. As requested, this imports `c_void` in more places. I also fixed up some imports to use `core` for core types instead of `crate`. While that is not strictly necessary, I think ideally things in `sys/pal` should only depend on itself or core so that the code is less spaghetti. We're far away from that ideal at the moment but I can at least try to slowly move in that direction.

Also this forbids `unsafe_op_in_unsafe_fn` for library/std/src/sys/pal/windows by fixing up the remaining unsafe bits that are just punting their unsafe requirements onto the caller of the `unsafe` function (or definition macro).

<!--
r? workingjubilee
-->
2024-07-24 18:00:40 +02:00
..
benches also test parts of std 2024-04-07 10:05:57 +02:00
src Rollup merge of #128131 - ChrisDenton:stuff, r=workingjubilee 2024-07-24 18:00:40 +02:00
tests Initial implementation of anonymous_pipe 2024-07-23 23:13:56 +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 Auto merge of #127153 - NobodyXu:pipe, r=ChrisDenton 2024-07-24 00:03:14 +00:00