rust/compiler/rustc_const_eval/src
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
..
check_consts Auto merge of #136203 - matthiaskrgr:rollup-1k0f44l, r=matthiaskrgr 2025-01-28 20:15:51 +00:00
const_eval Auto merge of #136035 - SpecificProtagonist:miri-zeroed-alloc, r=oli-obk 2025-01-30 01:27:21 +00:00
interpret Auto merge of #136035 - SpecificProtagonist:miri-zeroed-alloc, r=oli-obk 2025-01-30 01:27:21 +00:00
util Begin to implement type system layer of unsafe binders 2024-12-22 21:57:57 +00:00
errors.rs Implement MIR const trait stability checks 2025-01-28 05:01:12 +00:00
lib.rs report UB when the niche value refers to the untagged variant 2024-11-30 18:26:30 +01:00