about summary refs log tree commit diff
path: root/tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-02-17 18:47:40 +0100
committerGitHub <noreply@github.com>2024-02-17 18:47:40 +0100
commit59972868e63a24034a5d8379c8ca4146a72b7373 (patch)
tree1315cd321372f52e3e48053f9cd5871f1b0eb478 /tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs
parenteeeb021954e30a6b16fc12cc4b8a1bcf7910a40e (diff)
parent7c2db703b0b56cede3d8ce264e9d1fcdb1397f94 (diff)
downloadrust-59972868e63a24034a5d8379c8ca4146a72b7373.tar.gz
rust-59972868e63a24034a5d8379c8ca4146a72b7373.zip
Rollup merge of #120952 - saethlin:vec-into-iter, r=the8472
Don't use mem::zeroed in vec::IntoIter

`mem::zeroed` is not a trivial function. Maybe it was once, but now it involves multiple locals, copies, and an intrinsic that gets monomorphized into a call to `panic_nounwind` for iterators of types like `Vec<&T>`. Of course all that complexity is trivially optimized out, but generating a bunch of IR where we don't need to just so we can optimize it away later is silly.
Diffstat (limited to 'tests/codegen/src-hash-algorithm/src-hash-algorithm-sha256.rs')
0 files changed, 0 insertions, 0 deletions