Skip to content

Commit

Permalink
Rollup merge of #118238 - RalfJung:memcpy, r=Mark-Simulacrum
Browse files Browse the repository at this point in the history
memcpy assumptions: update GCC link

GCC now has this documented on an official website, not just in the bugtracker.
  • Loading branch information
compiler-errors authored Nov 24, 2023
2 parents 8294352 + a5dff37 commit 9c1b029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
//! the `n` parameter is 0, the function is assumed to not be UB. Furthermore, for `memcpy`, if
//! source and target pointer are equal, the function is assumed to not be UB.
//! (Note that these are standard assumptions among compilers:
//! [clang](https://reviews.llvm.org/D86993) and [GCC](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667) do the same.)
//! [clang](https://reviews.llvm.org/D86993) and [GCC](https://gcc.gnu.org/onlinedocs/gcc/Standards.html#C-Language) do the same.)
//! These functions are often provided by the system libc, but can also be provided by the
//! [compiler-builtins crate](https://crates.io/crates/compiler_builtins).
//! Note that the library does not guarantee that it will always make these assumptions, so Rust
Expand Down

0 comments on commit 9c1b029

Please sign in to comment.