rust/library/std/src/sys/pal
Matthias Krüger ee77dda778
Rollup merge of #128092 - ChrisDenton:wrappers, r=workingjubilee
Remove wrapper functions from c.rs

I'd like for the windows `c.rs` just to contain the basic platform definitions and not anything higher level unless absolutely necessary. So this removes some wrapper functions that weren't really necessary in any case. The functions are only used in a few places which themselves are relatively thin wrappers. The "interesting" bit is that we had an `AlertableIoFn` that abstracted over `ReadFileEx` and `WriteFileEx`. I've replaced this with a closure.

Also I removed an `#[allow(unsafe_op_in_unsafe_fn)]` while I was moving things around.
2024-07-24 05:05:34 +02:00
..
common std: Unsafe-wrap alloc code held in-common 2024-07-23 01:14:39 -07:00
hermit Use futex.rs for Windows thread parking 2024-07-16 11:21:51 +00:00
itron Auto merge of #126523 - joboet:the_great_big_tls_refactor, r=Mark-Simulacrum 2024-06-24 15:55:28 +00:00
sgx std: refactor the TLS implementation 2024-06-15 17:47:35 +02:00
solid kmc-solid: forbid(unsafe_op_in_unsafe_fn) 2024-07-19 13:46:06 -07:00
teeos deny unsafe_op_in_unsafe_fn for teeos 2024-07-16 11:47:22 +08:00
uefi uefi: process: Fixes from PR 2024-07-19 17:44:27 +05:30
unix Auto merge of #127153 - NobodyXu:pipe, r=ChrisDenton 2024-07-24 00:03:14 +00:00
unsupported Initial implementation of anonymous_pipe 2024-07-23 23:13:56 +10:00
wasi Avoid comments that describe multiple use items. 2024-07-17 08:02:46 +10:00
wasip2 Avoid comments that describe multiple use items. 2024-07-17 08:02:46 +10:00
wasm Use futex.rs for Windows thread parking 2024-07-16 11:21:51 +00:00
windows Rollup merge of #128092 - ChrisDenton:wrappers, r=workingjubilee 2024-07-24 05:05:34 +02:00
xous xous: Forbid unwrapped unsafe in platform modules 2024-07-16 16:16:03 -07:00
zkvm zkvm: add #[forbid(unsafe_op_in_unsafe_fn)] in stdlib 2024-07-16 16:04:02 -07:00
mod.rs std: removes logarithms family function edge cases handling for solaris. 2024-07-14 23:20:46 +01:00