Stream: t-compiler

Topic: rustc_target::abi::tylayout to rustc::ty::layoutcx

gnzlbg (Nov 02 2019 at 14:55, on Zulip):

How do I go from a rustc_target::abi::TyLayout to a rustc::LayoutCx ?

gnzlbg (Nov 02 2019 at 14:56, on Zulip):

@eddyb and why do we have so many layout types ?

eddyb (Nov 02 2019 at 21:42, on Zulip):


eddyb (Nov 02 2019 at 21:43, on Zulip):

@gnzlbg a TyLayout is a Ty and its layout. a LayoutCx is an internal type used to compute layouts

eddyb (Nov 02 2019 at 21:44, on Zulip):

it's pretty much like asking how to go from Ty to TyCtxt

Last update: May 24 2020 at 22:25UTC