diff options
| author | Ralf Jung <post@ralfj.de> | 2023-11-24 11:15:53 +0100 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2023-11-24 11:15:53 +0100 |
| commit | a5dff378f54821b763ffd06ff3d2702777c055d6 (patch) | |
| tree | 4ea7a25d28dd4b1ac7a14ea46fbca5418b28f40b | |
| parent | 41fe75ec6b824d51e5365098c4af9de45e5a2723 (diff) | |
| download | rust-a5dff378f54821b763ffd06ff3d2702777c055d6.tar.gz rust-a5dff378f54821b763ffd06ff3d2702777c055d6.zip | |
memcpy assumptions: update GCC link
| -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 |
