Skip to content

Commit

Permalink
Unrolled build for rust-lang#118238
Browse files Browse the repository at this point in the history
Rollup merge of rust-lang#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.
  • Loading branch information
rust-timer committed Nov 24, 2023
2 parents 4fd68eb + a5dff37 commit a2be5f3
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 a2be5f3

Please sign in to comment.