rust/library/std/src/io
bors 6f435eb0eb Auto merge of #114016 - krtab:delete_sys_memchr, r=workingjubilee
Delete architecture-specific memchr code in std::sys

Currently all architecture-specific memchr code is only used in `std::io`. Most of the actual `memchr` capacity exposed to the user through the slice API is instead implemented in `core::slice::memchr`.

Hence this commit deletes `memchr` from `std::sys[_common]` and replace calls to it by calls to `core::slice::memchr` functions. This deletes `(r)memchr` from the list of symbols linked to libc.

The interest of putting architecture specific code back in core is linked to the discussion to be had in #113654
2024-03-01 00:45:47 +00:00
..
buffered Delete architecture-specific memchr code in std::sys 2024-02-20 22:27:39 +01:00
copy unify read_to_end and io::copy impls for reading into a Vec 2023-11-26 18:13:36 +01:00
cursor attempt to optimise vectored write 2022-06-26 17:15:31 +01:00
error Use generic NonZero everywhere in std. 2024-02-22 15:17:33 +01:00
impls std: move "mod tests/benches" to separate files 2020-08-31 02:56:59 +00:00
stdio Make default stdio lock() return 'static handles 2022-02-13 10:23:16 -05:00
util Rollup merge of #98154 - vidhanio:master, r=workingjubilee 2023-07-30 20:36:33 +02:00
copy.rs unify read_to_end and io::copy impls for reading into a Vec 2023-11-26 18:13:36 +01:00
cursor.rs Rollup merge of #98651 - mattfbacon:master, r=ChrisDenton 2023-03-27 08:46:51 +02:00
error.rs Update std::io::Error::downcast return type 2024-01-19 09:26:56 +11:00
impls.rs Handle out of memory errors in io:Read::read_to_end() 2024-01-29 23:53:09 +00:00
mod.rs Delete architecture-specific memchr code in std::sys 2024-02-20 22:27:39 +01:00
prelude.rs Use heading for std::prelude and not io::prelude 2021-01-05 17:52:24 -08:00
stdio.rs std: make ReentrantLock public 2024-02-23 20:43:27 +01:00
tests.rs Auto merge of #105917 - a1phyr:read_chain_more_impls, r=workingjubilee 2024-02-19 04:43:54 +00:00
util.rs Make io::BorrowedCursor::advance safe 2024-02-07 16:46:28 +01:00