rust/library/std/src/os
许杰友 Jieyou Xu (Joe) 7d81e092a1
Rollup merge of #127996 - ian-h-chamberlain:fix/horizon-warnings-unsafe-in-unsafe, r=tgross35
Clean up warnings + `unsafe_op_in_unsafe_fn` when building std for armv6k-nintendo-3ds

See #127747

ping `@AzureMarker` `@Meziu`

I could only find one instance needing an extra `unsafe` that was not also shared with many other `unix` targets (presumably these will get covered in larger sweeping changes, I didn't want to introduce churn that would potentially conflict with those). The one codepath I found is shared with `vita` however, so also pinging `@nikarh` `@pheki` `@zetanumbers` just to make sure they're aware of this change.

Also removed one unused import from `process_unsupported` which should simply fix the warning for any target that uses it.
2024-07-22 16:44:06 +08:00
..
aix Support AIX in Rust standard library 2023-10-09 14:02:57 +08:00
android Convert Unix{Datagram,Stream}::{set_}passcred() to per-OS traits 2023-10-25 17:01:21 +09:00
darwin Merge Apple std::os extensions modules into std::os::darwin 2024-07-14 15:31:54 +02:00
dragonfly Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
emscripten Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
espidf Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
fd Mention how you can go from BorrowedFd to OwnedFd and back 2024-07-17 14:34:00 +02:00
fortanix_sgx Avoid comments that describe multiple use items. 2024-07-17 08:02:46 +10:00
freebsd std::net: adding acceptfilter feature for netbsd/freebsd. 2024-03-20 18:15:31 +00:00
fuchsia Add definitions for riscv64gc-unknown-fuchsia 2023-04-25 16:42:59 -07:00
haiku Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
hermit export std::os::fd module on HermitOS 2024-06-12 20:46:52 +02:00
horizon Fix warnings when checking armv6k-nintendo-3ds 2024-07-21 20:12:54 -04:00
hurd added support for GNU/Hurd 2023-09-21 17:31:25 +02:00
illumos Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
ios Merge Apple std::os extensions modules into std::os::darwin 2024-07-14 15:31:54 +02:00
l4re Remove asmjs from library 2023-10-28 23:10:45 -07:00
linux to extract a pidfd we must consume the child 2024-06-22 00:46:55 +02:00
macos Merge Apple std::os extensions modules into std::os::darwin 2024-07-14 15:31:54 +02:00
net os::net: expanding TcpStreamExt for Linux with tcp_deferaccept. 2024-02-21 20:59:15 +00:00
netbsd std::net: adding acceptfilter feature for netbsd/freebsd. 2024-03-20 18:15:31 +00:00
nto Update library/std/src/os/nto/mod.rs 2023-03-01 06:42:40 +01:00
openbsd Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
raw Remove Windows dependency on libc 2024-05-20 11:13:31 -04:00
redox Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
solaris Remove use of #[rustc_deprecated] 2022-04-14 01:33:13 -04:00
solid kmc-solid: forbid(unsafe_op_in_unsafe_fn) 2024-07-19 13:46:06 -07:00
uefi uefi: Forbid unwrapped unsafe in platform modules 2024-07-16 16:21:10 -07:00
unix Merge Apple std::os extensions modules into std::os::darwin 2024-07-14 15:31:54 +02:00
vita PS Vita std support 2023-05-07 18:57:43 +03:00
vxworks Take sys/vxworks/{fd,fs,io} from sys/unix instead. 2020-10-16 06:19:00 +02:00
wasi Factor some common io::Error constants 2024-04-11 09:55:15 +02:00
wasip2 Rename wasm32-wasi-preview2 to wasm32-wasip2 2024-02-27 10:14:45 -05:00
windows feat: adding ext that returns change_time for Windows 2024-07-17 13:34:18 -07:00
xous xous: Forbid unwrapped unsafe in platform modules 2024-07-16 16:16:03 -07:00
mod.rs std: deny(unsafe_op_in_unsafe_fn) but allow sites 2024-07-14 16:44:01 -07:00