about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2025-04-06 18:08:09 +0200
committerGitHub <noreply@github.com>2025-04-06 18:08:09 +0200
commit962fa98eeb7da843d0f2dc4d2f3ac0a27ed267b2 (patch)
tree70fd49f4c3945f68d7ee07fb35cab6d95f839c84 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent7bd89b90e8476dca18b74f98eb1383f70b2a4b0e (diff)
parent41b04653f3d2fd9cd6451a586354257d661385e2 (diff)
downloadrust-962fa98eeb7da843d0f2dc4d2f3ac0a27ed267b2.tar.gz
rust-962fa98eeb7da843d0f2dc4d2f3ac0a27ed267b2.zip
Rollup merge of #138876 - thaliaarchi:trusty-stdio, r=Noratrieb
Trusty: Implement `write_vectored` for stdio

Currently, `write` for stdout and stderr on Trusty is implemented with the semantics of `write_all`. Instead, call the underlying syscall only once in `write` and use the default implementation of `write_all` like other platforms. Also, implement `write_vectored` by adding support for `IoSlice`.

Refactor stdin to reuse the unsupported type like https://github.com/rust-lang/rust/pull/136769.

It requires #138875 to fix the build for Trusty, though they do not conflict and can merge in either order.

cc `@randomPoison`
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions