diff options
| author | Michael Goulet <michael@errs.io> | 2023-11-24 07:29:12 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-24 07:29:12 -0800 |
| commit | 9c1b029559ad6b8743b1390d7e514fd818363129 (patch) | |
| tree | 1186a3953ba0f22c46e76b5272700fee48660971 /library/core/src | |
| parent | 8294352b2d800faa97d73fb4d12a7fc48dd4cdfc (diff) | |
| parent | a5dff378f54821b763ffd06ff3d2702777c055d6 (diff) | |
| download | rust-9c1b029559ad6b8743b1390d7e514fd818363129.tar.gz rust-9c1b029559ad6b8743b1390d7e514fd818363129.zip | |
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.
Diffstat (limited to 'library/core/src')
| -rw-r--r-- | library/core/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/lib.rs b/library/core/src/lib.rs index 921a0fb6a9f..d44cf299c27 100644 --- a/library/core/src/lib.rs +++ b/library/core/src/lib.rs @@ -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 |
