about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2020-03-17 12:16:16 +0100
committerGitHub <noreply@github.com>2020-03-17 12:16:16 +0100
commit7a7ca8238f3b1b09d18b3e0cc05f44095cfcb673 (patch)
tree766e94663afcb8faeee7912ec9980a973e322fda /src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs
parentc4a900f57c13a6624a048708af15cc2e7fddae28 (diff)
parenta2160e6a4a91490117b9f0469c49b6f86d0d20d2 (diff)
downloadrust-7a7ca8238f3b1b09d18b3e0cc05f44095cfcb673.tar.gz
rust-7a7ca8238f3b1b09d18b3e0cc05f44095cfcb673.zip
Rollup merge of #69922 - RalfJung:less-intrinsic, r=oli-obk
implement zeroed and uninitialized with MaybeUninit

This is the second attempt of doing such a change (first PR: https://github.com/rust-lang/rust/pull/62150). The last change [got reverted](https://github.com/rust-lang/rust/pull/63343) because it [caused](https://github.com/rust-lang/rust/issues/62825) some [issues](https://github.com/rust-lang/rust/issues/52898#issuecomment-512182438) in [code that incorrectly used these functions](https://github.com/erlepereira/x11-rs/issues/99).

Since then, the [problematic code has been fixed](https://github.com/erlepereira/x11-rs/pull/101), and rustc [gained a lint](https://github.com/rust-lang/rust/pull/63346) that is able to detect many misuses of these functions statically and a [dynamic check that panics](https://github.com/rust-lang/rust/pull/66059) instead of causing UB for some incorrect uses.

Fixes https://github.com/rust-lang/rust/issues/62825
Diffstat (limited to 'src/test/codegen/src-hash-algorithm/src-hash-algorithm-md5.rs')
0 files changed, 0 insertions, 0 deletions