Skip to content

std: move io module out of pal, get rid of sys_common::io#135696

Merged
bors merged 2 commits intorust-lang:masterfrom
joboet:move_pal_io
Feb 8, 2025
Merged

std: move io module out of pal, get rid of sys_common::io#135696
bors merged 2 commits intorust-lang:masterfrom
joboet:move_pal_io

Conversation

@joboet
Copy link
Copy Markdown
Member

@joboet joboet commented Jan 18, 2025

Part of #117276.

This does two related things:

  1. It moves the platform-specific definitions for IoSlice, IoSliceMut and is_terminal out of pal and into sys and unifies some of them.
  2. It gets rid of sys_common::io, moving the non-platform-specific test helpers into std::test_helpers and the buffer size definition to the new sys::io module.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-hermit Operating System: Hermit O-SGX Target: SGX O-solid Operating System: SOLID O-unix Operating system: Unix-like O-wasi Operating system: Wasi, Webassembly System Interface O-wasm Target: WASM (WebAssembly), http://webassembly.org/ O-windows Operating system: Windows S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants