]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #99084 - RalfJung:write_bytes, r=thomcc
authorYuki Okushi <jtitor@2k36.org>
Mon, 25 Jul 2022 22:14:46 +0000 (07:14 +0900)
committerGitHub <noreply@github.com>
Mon, 25 Jul 2022 22:14:46 +0000 (07:14 +0900)
commitaeca079d7e91a2ae34b6c5f743689750257c094c
treedff6fe9557bb01a38aeea3a52229039e2820ab78
parentb8aab9781a76f4498cc3819674397dedad37f20b
parent1b3870e4271ca7b93de0b17ea6544e749fba3483
Rollup merge of #99084 - RalfJung:write_bytes, r=thomcc

clarify how write_bytes can lead to UB due to invalid values

Fixes https://github.com/rust-lang/unsafe-code-guidelines/issues/330

Cc ``@5225225``
library/core/src/intrinsics.rs