Skip to content

Commit

Permalink
Auto merge of #114016 - krtab:delete_sys_memchr, r=workingjubilee
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bors committed Mar 1, 2024
2 parents c84d534 + f9b8446 commit 2523e15
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 2523e15

Please sign in to comment.