Make Core.size test portable
Make Core.size test portable

Summary: Add a golden struct for checking the size of Core.
It makes this test pass on OSX
(now failing because of the different size of std::function).

Reviewed By: @​hannesr

Differential Revision: D2315429

fw1121/folly,doctaweeks/folly,arg0/folly,Hincoin/folly,hongliangzhao/folly,loversInJapan/folly,guker/folly,renyinew/folly,gavioto/folly,upsoft/folly,upsoft/folly,PPC64/folly,yangjin-unique/folly,SeanRBurton/folly,PoisonBOx/folly,Orvid/folly,hongliangzhao/folly,hongliangzhao/folly,alexst07/folly,Orvid/folly,mqeizi/folly,Hincoin/folly,PoisonBOx/folly,zhiweicai/folly,sonnyhu/folly,CJstar/folly,mqeizi/folly,raphaelamorim/folly,floxard/folly,SeanRBurton/folly,bobegir/folly,zhiweicai/folly,sakishum/folly,bowlofstew/folly,guker/folly,tempbottle/folly,sakishum/folly,fw1121/folly,reddit/folly,stonegithubs/folly,rklabs/folly,fw1121/folly,constantine001/folly,floxard/folly,SammyK/folly,SeanRBurton/folly,juniway/folly,leolujuyi/folly,doctaweeks/folly,theiver9827/folly,leolujuyi/folly,bobegir/folly,tempbottle/folly,tomhughes/folly,brunomorishita/folly,lifei/folly,lifei/folly,facebook/folly,lifei/folly,brunomorishita/folly,bowlofstew/folly,Hincoin/folly,reddit/folly,KSreeHarsha/folly,gavioto/folly,SammyK/folly,CJstar/folly,tomhughes/folly,arg0/folly,Hincoin/folly,gaoyingie/folly,KSreeHarsha/folly,bowlofstew/folly,lifei/folly,theiver9827/folly,renyinew/folly,stonegithubs/folly,zhiweicai/folly,gaoyingie/folly,sonnyhu/folly,zhiweicai/folly,yangjin-unique/folly,raphaelamorim/folly,hongliangzhao/folly,PoisonBOx/folly,tempbottle/folly,Orvid/folly,sonnyhu/folly,alexst07/folly,mqeizi/folly,juniway/folly,upsoft/folly,KSreeHarsha/folly,stonegithubs/folly,yangjin-unique/folly,constantine001/folly,CJstar/folly,PoisonBOx/folly,rklabs/folly,sonnyhu/folly,lifei/folly,theiver9827/folly,charsyam/folly,Hincoin/folly,tempbottle/folly,constantine001/folly,reddit/folly,raphaelamorim/folly,brunomorishita/folly,facebook/folly,tomhughes/folly,KSreeHarsha/folly,reddit/folly,theiver9827/folly,mqeizi/folly,fw1121/folly,clearlylin/folly,tomhughes/folly,sakishum/folly,theiver9827/folly,upsoft/folly,rklabs/folly,leolujuyi/folly,guker/folly,hongliangzhao/folly,facebook/folly,Eagle-X/folly,renyinew/folly,rklabs/folly,charsyam/folly,juniway/folly,PPC64/folly,CJstar/folly,juniway/folly,alexst07/folly,tempbottle/folly,sakishum/folly,bikong2/folly,clearlylin/folly,PPC64/folly,fw1121/folly,stonegithubs/folly,doctaweeks/folly,mqeizi/folly,Orvid/folly,gavioto/folly,renyinew/folly,facebook/folly,yangjin-unique/folly,charsyam/folly,brunomorishita/folly,gavioto/folly,SammyK/folly,tomhughes/folly,zhiweicai/folly,PoisonBOx/folly,gaoyingie/folly,doctaweeks/folly,PPC64/folly,clearlylin/folly,SeanRBurton/folly,bowlofstew/folly,Eagle-X/folly,floxard/folly,Eagle-X/folly,loversInJapan/folly,loversInJapan/folly,raphaelamorim/folly,charsyam/folly,constantine001/folly,Orvid/folly,renyinew/folly,guker/folly,gaoyingie/folly,rklabs/folly,Eagle-X/folly,bikong2/folly,leolujuyi/folly,arg0/folly,gaoyingie/folly,leolujuyi/folly,alexst07/folly,doctaweeks/folly,bowlofstew/folly,gavioto/folly,bikong2/folly,constantine001/folly,loversInJapan/folly,SeanRBurton/folly,guker/folly,floxard/folly,arg0/folly,brunomorishita/folly,raphaelamorim/folly,sakishum/folly,upsoft/folly,floxard/folly,PPC64/folly,CJstar/folly,juniway/folly,bikong2/folly,bobegir/folly,SammyK/folly,Eagle-X/folly,arg0/folly,sonnyhu/folly,alexst07/folly,bobegir/folly,clearlylin/folly,loversInJapan/folly,clearlylin/folly,facebook/folly,bobegir/folly,yangjin-unique/folly,stonegithubs/folly,bikong2/folly,reddit/folly,KSreeHarsha/folly,SammyK/folly