1
Fork 0
rust/library/std/src/os
Thalia Archibald 988eb19970 library: Use size_of from the prelude instead of imported
Use `std::mem::{size_of, size_of_val, align_of, align_of_val}` from the
prelude instead of importing or qualifying them.

These functions were added to all preludes in Rust 1.80.
2025-03-06 20:20:38 -08: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 library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08: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
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 library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
xous library: Use size_of from the prelude instead of imported 2025-03-06 20:20:38 -08:00
mod.rs Auto merge of #123723 - madsmtm:apple-std-os, r=dtolnay 2024-11-03 22:25:11 +00:00