Skip to content

Commit

Permalink
Rollup merge of #114412 - RalfJung:libc-symbols, r=pnkfelix
Browse files Browse the repository at this point in the history
document our assumptions about symbols provided by the libc

LLVM makes assumptions about `memcmp`, `memmove`, and `memset` that go beyond what the C standard guarantees -- see https://reviews.llvm.org/D86993. Since we use LLVM, we are inheriting these assumptions.

With rust-lang/rust#114382 we are also making a similar assumption about `memcmp`, so I added that to the list.

Fixes rust-lang/unsafe-code-guidelines#426.
  • Loading branch information
matthiaskrgr authored Sep 5, 2023
2 parents 147aafa + 9b2ee8a commit b232f46
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit b232f46

Please sign in to comment.