Files
rust/library/std/src
Matthias Krüger a64ccf4a46 Rollup merge of #139092 - thaliaarchi:move-fd-pal, r=joboet
Move `fd` into `std::sys`

Move platform definitions of `fd` into `std::sys`, as part of https://github.com/rust-lang/rust/issues/117276.

Unlike other modules directly under `std::sys`, this is only available on some platforms and I have not provided a fallback abstraction for unsupported platforms. That is similar to how `std::os::fd` is gated to only supported platforms.

Also, fix the `unsafe_op_in_unsafe_fn` lint, which was allowed for the Unix fd impl. Since macro expansions from `std::sys::pal::unix::weak` trigger this lint, fix it there too.

cc `@joboet,` `@ChrisDenton`

try-job: x86_64-gnu-aux
2025-04-05 10:18:04 +02:00
..
2023-12-10 10:56:22 +08:00
2025-03-18 16:46:56 +00:00
2024-11-02 11:27:14 +01:00
2025-04-04 14:47:04 +02:00
2025-02-13 13:10:28 -08:00
2025-03-22 15:14:49 +08:00
2025-03-08 16:22:37 -08:00
2025-01-11 06:35:21 +02:00
2025-03-11 09:46:34 -07:00
2025-02-25 09:08:22 +05:30
2024-04-08 11:57:17 +00:00
2025-03-13 20:09:07 +00:00
2025-03-28 13:22:09 +01:00
2025-03-10 21:23:32 +08:00
2025-02-07 16:54:07 +01:00