rust/compiler/rustc_middle
bors 5e5567993d Auto merge of #136035 - SpecificProtagonist:miri-zeroed-alloc, r=oli-obk
miri: optimize zeroed alloc

When allocating zero-initialized memory in MIR interpretation, rustc allocates zeroed memory, marks it as initialized and then re-zeroes it. Remove the last step.

I don't expect this to have much of an effect on performance normally, but in my case in which I'm creating a large allocation via mmap it gets in the way.
2025-01-30 01:27:21 +00:00
..
src Auto merge of #136035 - SpecificProtagonist:miri-zeroed-alloc, r=oli-obk 2025-01-30 01:27:21 +00:00
Cargo.toml best_blame_constraint: prioritize blaming interesting-seeming constraints 2025-01-06 16:12:11 -08:00
messages.ftl Add TooGeneric variant to LayoutError and emit Unknown one 2025-01-27 00:37:34 +01:00
README.md

For more information about how rustc works, see the rustc dev guide.