rust/library/std/src/sys
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
..
anonymous_pipe Initial implementation of anonymous_pipe 2024-07-23 23:13:56 +10:00
os_str forbid(unsafe_op_in_unsafe_fn) in sys/os_str 2024-07-17 05:52:38 +00:00
pal Rollup merge of #128131 - ChrisDenton:stuff, r=workingjubilee 2024-07-24 18:00:40 +02:00
path std: forbid unwrapped unsafe in unsupported_backslash 2024-07-19 13:46:06 -07:00
personality std: unwrapped unsafe is VERBOTEN! 2024-07-16 12:51:14 -07:00
sync Rollup merge of #127873 - workingjubilee:forbid-unsafe-ops-for-kmc-solid, r=Amanieu 2024-07-20 13:24:53 +02:00
thread_local Remove _tls_used hack 2024-07-20 12:37:36 +00:00
backtrace.rs std: Unsafe-wrap backtrace code held in-common 2024-07-23 01:17:26 -07:00
cmath.rs Make cmath.rs a single file 2024-02-07 12:02:24 -03:00
exit_guard.rs Attempt to fix CI 2024-07-08 09:19:25 -05:00
mod.rs Initial implementation of anonymous_pipe 2024-07-23 23:13:56 +10:00