diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-04-05 10:18:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-05 10:18:04 +0200 |
| commit | a64ccf4a46c80a975e197cb4610125838ca24cbf (patch) | |
| tree | b783dacf2f65227b4ab746a1817c6c77ead7fdd8 /compiler/rustc_codegen_llvm/src/context.rs | |
| parent | 56ffb43629bf58996c367073a0fa19e7d422df19 (diff) | |
| parent | 3ab22fabf1a21077556c708633ceaefbb678c178 (diff) | |
| download | rust-a64ccf4a46c80a975e197cb4610125838ca24cbf.tar.gz rust-a64ccf4a46c80a975e197cb4610125838ca24cbf.zip | |
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
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/context.rs')
0 files changed, 0 insertions, 0 deletions
