rust/library/std/src
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
..
backtrace remove redundant imports 2023-12-10 10:56:22 +08:00
collections Rollup merge of #137870 - karolzwolak:lazylock-const-hashmaps-137566, r=cuviper 2025-03-14 01:37:30 -04:00
ffi Specialize constructing OsString from strings 2025-02-28 13:50:31 -08:00
fs Test windows file type equality 2025-03-18 16:46:56 +00:00
hash remove const_hash feature leftovers 2024-11-02 11:27:14 +01:00
io io: Avoid Avoid marking bytes as uninit in BufReader::peek 2025-04-01 00:08:02 +02:00
net ToSocketAddrs: fix typo 2025-04-04 14:47:04 +02:00
os Trusty: Fix build for anonymous pipes and std::sys::process 2025-03-23 19:32:20 -07:00
prelude Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
process std: Apply deprecated_safe_2024 2025-02-13 13:10:28 -08:00
sync Implement UniqueArc 2025-03-22 15:14:49 +08:00
sys Rollup merge of #138876 - thaliaarchi:trusty-stdio, r=Noratrieb 2025-04-06 18:08:09 +02:00
sys_common Move fs into sys 2025-03-08 16:22:37 -08:00
thread Auto merge of #138702 - m-ou-se:spawn-in-atexit, r=Mark-Simulacrum 2025-03-27 21:46:58 +00:00
alloc.rs Mark imports of #[rustc_std_internal_symbol] items with this attribute 2025-03-17 14:06:56 +00:00
ascii.rs Reformat using the new identifier sorting from rustfmt 2024-09-22 19:11:29 -04:00
backtrace.rs Implement #[define_opaque] attribute for functions. 2025-03-11 12:05:02 +00:00
bstr.rs Implement ByteStr and ByteString types 2025-01-11 06:35:21 +02:00
env.rs Rollup merge of #136320 - RalfJung:exit, r=the8472 2025-03-18 10:09:28 +01:00
error.rs Move std::error unit tests to integration tests 2025-01-26 10:28:04 +00:00
f16.rs Rollup merge of #137357 - syvb:sv/log-docs, r=tgross35 2025-03-21 06:56:45 +01:00
f32.rs Rollup merge of #137357 - syvb:sv/log-docs, r=tgross35 2025-03-21 06:56:45 +01:00
f64.rs Rollup merge of #137357 - syvb:sv/log-docs, r=tgross35 2025-03-21 06:56:45 +01:00
f128.rs Rollup merge of #137357 - syvb:sv/log-docs, r=tgross35 2025-03-21 06:56:45 +01:00
fs.rs Rollup merge of #138832 - ChrisDenton:with_native_path, r=joboet 2025-03-29 21:08:12 +01:00
keyword_docs.rs Migrate std to Rust 2024 2025-03-11 09:46:34 -07:00
lib.miri.rs add 'x.py miri', and make it work for 'library/{core,alloc,std}' 2024-04-03 20:27:20 +02:00
lib.rs Rollup merge of #136457 - calder:master, r=tgross35 2025-04-05 13:18:12 +11:00
macros.rs fix doc path in std::fmt macro 2025-02-25 09:08:22 +05:30
num.rs Move std::num unit tests to integration tests 2025-01-26 10:28:04 +00:00
panic.rs add last std diagnostic items for clippy 2025-02-18 10:54:37 +01:00
panicking.rs Mark imports of #[rustc_std_internal_symbol] items with this attribute 2025-03-17 14:06:56 +00:00
pat.rs Add pattern types to parser 2024-04-08 11:57:17 +00:00
path.rs Remove has_redox_scheme 2025-03-13 20:09:07 +00:00
process.rs Fix formatting nit in process.rs 2025-03-28 13:22:09 +01:00
random.rs Unify cygwin & horizon random impl 2025-03-10 21:23:32 +08:00
rt.rs Rollup merge of #135446 - klensy:panic_immediate_abort_ext, r=Mark-Simulacrum 2025-01-20 12:38:32 +08:00
test_helpers.rs std: get rid of sys_common::io 2025-02-07 16:54:07 +01:00
time.rs Rollup merge of #136301 - hkBst:patch-33, r=thomcc 2025-02-19 18:52:04 +01:00