]> git.lizzy.rs Git - rust.git/commit
Auto merge of #105229 - saethlin:zst-writes-to-unions, r=oli-obk
authorbors <bors@rust-lang.org>
Tue, 6 Dec 2022 15:35:55 +0000 (15:35 +0000)
committerbors <bors@rust-lang.org>
Tue, 6 Dec 2022 15:35:55 +0000 (15:35 +0000)
commite60fbaf4ce768d13a6abc048bd34ee12995d18dc
treeac6ee4f848844d44ae4ca26001d3dca132643a8d
parentb6852428a8ea9728369b64b9964cad8e258403d3
parent74a270ac93710ef4ef2315cce3840486f92698b5
Auto merge of #105229 - saethlin:zst-writes-to-unions, r=oli-obk

Re-enable removal of ZST writes to unions

This was previously disabled because Miri was lazily allocating unsized locals. But we aren't doing that anymore since  https://github.com/rust-lang/rust/pull/98831, so we can have this optimization back.