Skip to content

Commit 9c1b029

Browse files
Rollup merge of #118238 - RalfJung:memcpy, r=Mark-Simulacrum
memcpy assumptions: update GCC link GCC now has this documented on an official website, not just in the bugtracker.
2 parents 8294352 + a5dff37 commit 9c1b029

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/core/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
//! the `n` parameter is 0, the function is assumed to not be UB. Furthermore, for `memcpy`, if
2828
//! source and target pointer are equal, the function is assumed to not be UB.
2929
//! (Note that these are standard assumptions among compilers:
30-
//! [clang](https://reviews.llvm.org/D86993) and [GCC](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667) do the same.)
30+
//! [clang](https://reviews.llvm.org/D86993) and [GCC](https://gcc.gnu.org/onlinedocs/gcc/Standards.html#C-Language) do the same.)
3131
//! These functions are often provided by the system libc, but can also be provided by the
3232
//! [compiler-builtins crate](https://crates.io/crates/compiler_builtins).
3333
//! Note that the library does not guarantee that it will always make these assumptions, so Rust

0 commit comments

Comments
 (0)