rust/library/std
Guillaume Gomez 962fa98eeb
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`
2025-04-06 18:08:09 +02:00
..
benches Fix import in bench for wasm 2025-02-12 14:44:30 -08:00
src Rollup merge of #138876 - thaliaarchi:trusty-stdio, r=Noratrieb 2025-04-06 18:08:09 +02:00
tests Rollup merge of #137897 - xTachyon:tls-fix, r=thomcc,jieyouxu 2025-04-05 13:18:13 +11:00
build.rs Rollup merge of #137621 - Berrysoft:cygwin-std, r=joboet 2025-03-17 05:47:49 -04:00
Cargo.toml Update compiler-builtins to 0.1.152 2025-03-24 00:29:21 +00:00