about summary refs log tree commit diff
path: root/library/std/src/sys_common/memchr
AgeCommit message (Collapse)AuthorLines
2024-02-20Delete architecture-specific memchr code in std::sysArthur Carcano-86/+0
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.
2021-05-14Move `std::memchr` to `sys_common`Christiaan Dirkx-0/+86