]> git.lizzy.rs Git - rust.git/commitdiff
Rollup merge of #55834 - ogoffart:union-abi, r=eddyb
authorPietro Albini <pietro@pietroalbini.org>
Sun, 18 Nov 2018 22:24:34 +0000 (23:24 +0100)
committerGitHub <noreply@github.com>
Sun, 18 Nov 2018 22:24:34 +0000 (23:24 +0100)
Forward the ABI of the non-zero sized fields of an union if they have the same ABI

This is supposed to fix the performence regression of using MaybeUninit in
https://github.com/rust-lang/rust/pull/54668

1  2 
src/librustc/ty/layout.rs
src/librustc/ty/mod.rs

Simple merge
Simple merge