commit | 962fa98eeb7da843d0f2dc4d2f3ac0a27ed267b2 | [log] [tgz] |
---|---|---|
author | Guillaume Gomez <guillaume1.gomez@gmail.com> | Sun Apr 06 18:08:09 2025 +0200 |
committer | GitHub <noreply@github.com> | Sun Apr 06 18:08:09 2025 +0200 |
tree | 70fd49f4c3945f68d7ee07fb35cab6d95f839c84 | |
parent | 7bd89b90e8476dca18b74f98eb1383f70b2a4b0e [diff] | |
parent | 41b04653f3d2fd9cd6451a586354257d661385e2 [diff] |
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`
Website | Getting started | Learn | Documentation | Contributing
This is the main source code repository for Rust. It contains the compiler, standard library, and documentation.
Performance: Fast and memory-efficient, suitable for critical services, embedded devices, and easily integrated with other languages.
Reliability: Our rich type system and ownership model ensure memory and thread safety, reducing bugs at compile-time.
Productivity: Comprehensive documentation, a compiler committed to providing great diagnostics, and advanced tooling including package manager and build tool (Cargo), auto-formatter (rustfmt), linter (Clippy) and editor support (rust-analyzer).
Read “Installation” from The Book.
If you really want to install from source (though this is not recommended), see INSTALL.md.
See https://www.rust-lang.org/community for a list of chat platforms and forums.
See CONTRIBUTING.md.
Rust is primarily distributed under the terms of both the MIT license and the Apache License (Version 2.0), with portions covered by various BSD-like licenses.
See LICENSE-APACHE, LICENSE-MIT, and COPYRIGHT for details.
The Rust Foundation owns and protects the Rust and Cargo trademarks and logos (the “Rust Trademarks”).
If you want to use these names or brands, please read the Rust language trademark policy.
Third-party logos may be subject to third-party copyrights and trademarks. See Licenses for details.