rust/library/std/src/os
Matthias Krüger 448aa30b5a
Rollup merge of #138162 - ehuss:library-2024, r=cuviper
Update the standard library to Rust 2024

This updates the standard library to Rust 2024. This includes the following notable changes:

- Macros are updated to use new expression fragment specifiers. This PR includes a test to illustrate the changes, primarily allowing `const {...}` expressions now.
- Some tests show a change in MIR drop order. We do not believe this will be an observable change ([see zulip discussion](https://rust-lang.zulipchat.com/#narrow/channel/268952-edition/topic/standard.20library.20migration/near/500972873)).

Fixes https://github.com/rust-lang/rust/issues/133081
2025-03-13 10:58:21 +01:00
..
aix Reformat use declarations. 2024-07-29 08:26:52 +10:00
android Reformat use declarations. 2024-07-29 08:26:52 +10:00
darwin replace placeholder version 2024-11-27 12:10:21 +00:00
dragonfly Reformat use declarations. 2024-07-29 08:26:52 +10:00
emscripten Avoid use of LFS64 symbols on Emscripten 2025-01-01 13:21:19 +01:00
espidf Reformat use declarations. 2024-07-29 08:26:52 +10:00
fd Format after patches have been applied 2025-03-10 10:00:25 -07:00
fortanix_sgx Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
freebsd Reformat use declarations. 2024-07-29 08:26:52 +10:00
fuchsia Add definitions for riscv64gc-unknown-fuchsia 2023-04-25 16:42:59 -07:00
haiku Reformat use declarations. 2024-07-29 08:26:52 +10:00
hermit std: move network code into sys 2025-02-02 19:12:06 +01:00
horizon Fix warnings when checking armv6k-nintendo-3ds 2024-07-21 20:12:54 -04:00
hurd Forbid unsafe_op_in_unsafe_fn in hurd-specific os and sys files 2024-12-11 01:02:10 +01:00
illumos Reformat use declarations. 2024-07-29 08:26:52 +10:00
ios Make std::os::darwin public 2024-08-13 23:50:33 +02:00
l4re Reformat use declarations. 2024-07-29 08:26:52 +10:00
linux Reformat use declarations. 2024-07-29 08:26:52 +10:00
macos Make std::os::darwin public 2024-08-13 23:50:33 +02:00
net Reformat use declarations. 2024-07-29 08:26:52 +10:00
netbsd Reformat use declarations. 2024-07-29 08:26:52 +10:00
nto Update library/std/src/os/nto/mod.rs 2023-03-01 06:42:40 +01:00
nuttx Fix a copy-paste issue in the NuttX raw type definition 2024-11-14 14:50:30 +08:00
openbsd Reformat use declarations. 2024-07-29 08:26:52 +10:00
raw Remove Windows dependency on libc 2024-05-20 11:13:31 -04:00
redox Reformat use declarations. 2024-07-29 08:26:52 +10:00
rtems Port std library to RTEMS 2024-09-03 09:19:29 +02:00
solaris Reformat use declarations. 2024-07-29 08:26:52 +10:00
solid Add safe new to NotAllOnes 2025-02-14 12:00:13 +00:00
trusty Remove unused file 2025-03-10 14:19:27 -07:00
uefi Reformat use declarations. 2024-07-29 08:26:52 +10:00
unix library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
vita Add forbid(unsafe_op_in_unsafe_fn) 2024-07-28 21:10:59 +03:00
vxworks Forbid unsafe_op_in_unsafe_fn in vxworks specific os and sys files 2024-08-03 08:00:39 +05:30
wasi library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
wasip2 WASI fixing unsafe_op_in_unsafe_fn for std::{os, sys} 2024-08-05 09:48:26 +01:00
windows Migrate std to Rust 2024 2025-03-11 09:46:34 -07:00
xous library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
mod.rs Apply rustc-0054-Add-std-os-fd-support-for-Trusty.patch 2025-03-10 10:00:24 -07:00