rust/library/std/src/sys
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
..
locks moved tests file 2024-02-23 16:35:07 +01:00
os_str Move OsStr::slice_encoded_bytes validation to platform modules 2024-01-21 19:51:49 +01:00
pal Auto merge of #114016 - krtab:delete_sys_memchr, r=workingjubilee 2024-03-01 00:45:47 +00:00
path std: move path into sys 2024-02-08 12:51:35 +01:00
personality std: move personality implementation out of PAL 2024-01-13 18:30:44 +01:00
cmath.rs Make cmath.rs a single file 2024-02-07 12:02:24 -03:00
mod.rs std: move locks to sys on µITRON 2024-02-16 12:10:07 +01:00