Skip to content

Move std::memchr to sys_common - #85275

Merged
bors merged 1 commit into
rust-lang:masterfrom
CDirkx:memchr
May 20, 2021
Merged

Move std::memchr to sys_common#85275
bors merged 1 commit into
rust-lang:masterfrom
CDirkx:memchr

Conversation

@CDirkx

@CDirkxCDirkx commented May 14, 2021

Copy link
Copy Markdown
Contributor

std::memchr is a thin abstraction over the different memchr implementations in sys, along with documentation and tests. The module is only used internally by std, nothing is exported externally. Code like this is exactly what the sys_common module is for, so this PR moves it there.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @m-ou-se

(rust-highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 14, 2021
@rustbotrustbot added the T-libs Relevant to the library team, which will review and decide on the PR/issue. label May 14, 2021
@m-ou-se

Copy link
Copy Markdown
Member

Thanks!

@bors r+

@bors

bors commented May 19, 2021

Copy link
Copy Markdown
Collaborator

📌 Commit 5353c5c has been approved by m-ou-se

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels May 19, 2021
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request May 19, 2021
Move `std::memchr` to `sys_common`
`std::memchr` is a thin abstraction over the different `memchr` implementations in `sys`, along with documentation and tests. The module is only used internally by `std`, nothing is exported externally. Code like this is exactly what the `sys_common` module is for, so this PR moves it there.
Dylan-DPC-zz pushed a commit to Dylan-DPC-zz/rust that referenced this pull request May 19, 2021
Move `std::memchr` to `sys_common`
`std::memchr` is a thin abstraction over the different `memchr` implementations in `sys`, along with documentation and tests. The module is only used internally by `std`, nothing is exported externally. Code like this is exactly what the `sys_common` module is for, so this PR moves it there.
bors added a commit to rust-lang-ci/rust that referenced this pull request May 20, 2021
…laumeGomez
Rollup of 5 pull requests
Successful merges:
- rust-lang#85275 (Move `std::memchr` to `sys_common`)
- rust-lang#85326 (bootstrap: ensure host std when cross-compiling tools, fixesrust-lang#85320)
- rust-lang#85375 (Fix missing lifetimes diagnostics after rust-lang#83759)
- rust-lang#85507 (Extend escape key check)
- rust-lang#85509 (Prevent tab title to "null" if the URL is a search one)
Failed merges:
r? `@ghost`
`@rustbot` modify labels: rollup
@bors
bors merged commit 0d3bee8 into rust-lang:masterMay 20, 2021
@rustbotrustbot added this to the 1.54.0 milestone May 20, 2021
@CDirkx
CDirkx deleted the memchr branch May 20, 2021 21:59
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.T-libsRelevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@CDirkx@rust-highfive@m-ou-se@bors@rustbot